mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-19 21:21:54 -04:00
turn off debug
This commit is contained in:
1 parent
26699953bb
commit
aaffe475d8
1 file changed
+4
-4
@@ -127,10 +127,10 @@ function dbQuery( $sql, $params=NULL ) {
|
||||
} else {
|
||||
$result = $dbConn->query( $sql );
|
||||
}
|
||||
if ( $params )
|
||||
Warning("SQL: $sql" . implode(',',$params));
|
||||
else
|
||||
Warning("SQL: $sql" );
|
||||
//if ( $params )
|
||||
//Warning("SQL: $sql" . implode(',',$params));
|
||||
//else
|
||||
//Warning("SQL: $sql" );
|
||||
} catch(PDOException $e) {
|
||||
Fatal( "SQL-ERR '".$e->getMessage()."', statement was '".$sql."'" );
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user