Fix a missing NULL second paramter to dbFetchAll

This commit is contained in:
Isaac Connor
2013-11-03 16:06:31 -05:00
parent 1798a0a2fb
commit 2d0f4dffd1

View File

@@ -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'] ) )
{