From e3a871a61ae700803b19af9be7e03592bb10bbfa Mon Sep 17 00:00:00 2001 From: stan Date: Tue, 28 Dec 2004 15:43:40 +0000 Subject: [PATCH] Fixed recently broken sql assignment. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1163 e3e1d417-86f3-4887-817a-d78f3d33393f --- scripts/zmaudit.pl.z | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/zmaudit.pl.z b/scripts/zmaudit.pl.z index df6cf0f60..d4df51cbd 100755 --- a/scripts/zmaudit.pl.z +++ b/scripts/zmaudit.pl.z @@ -279,7 +279,7 @@ do } } - my sql8 = "select distinct EventId from Stats left join Events on Stats.EventId = Events.Id where isnull(Events.Id) group by EventId"; + my $sql8 = "select distinct EventId from Stats left join Events on Stats.EventId = Events.Id where isnull(Events.Id) group by EventId"; my $sth8 = $dbh->prepare_cached( $sql8 ) or die( "Can't prepare '$sql8': ".$dbh->errstr() ); $res = $sth8->execute() or die( "Can't execute: ".$sth8->errstr() ); while( my $stat = $sth8->fetchrow_hashref() )