Fix a missing NULL second paramter to dbFetchAll

This commit is contained in:
Isaac Connor committed 2013-11-03 16:06:31 -05:00
1 parent 1798a0a2fb
commit 2d0f4dffd1
1 file changed
+1 -1
+1 -1
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'] ) )
{