mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-07-18 09:02:24 -04:00
turn off debug
This commit is contained in:
@@ -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