mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-09-08 11:26:15 -04:00
fix error message
This commit is contained in:
1 parent
625170bffc
commit
59a87c14d3
1 file changed
+1
-1
@@ -141,7 +141,7 @@ if ( 0 ) {
|
||||
Warning("SQL: $sql: rows:" . $result->rowCount() );
|
||||
}
|
||||
} catch(PDOException $e) {
|
||||
Error( "SQL-ERR '".$e->getMessage()."', statement was '".$sql."' params:" . $params?implode(',',$params):'' );
|
||||
Error( "SQL-ERR '".$e->getMessage()."', statement was '".$sql."' params:" . ($params?implode(',',$params):'') );
|
||||
}
|
||||
return( $result );
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user