mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-11 20:26:54 -04:00
Fix a missing NULL second paramter to dbFetchAll
This commit is contained in:
1 parent
1798a0a2fb
commit
2d0f4dffd1
1 file changed
+1
-1
@@ -33,7 +33,7 @@ chdir( $wd );
|
||||
$monitor = dbFetchMonitor( $mid );
|
||||
|
||||
$zones = array();
|
||||
foreach( dbFetchAll( 'select * from Zones where MonitorId = ? order by Area desc', array($mid) ) as $row )
|
||||
foreach( dbFetchAll( 'select * from Zones where MonitorId = ? order by Area desc', NULL, array($mid) ) as $row )
|
||||
{
|
||||
if ( $row['Points'] = coordsToPoints( $row['Coords'] ) )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user