From 445e7f16d6100a0e19296d3ea303c0aaf7abbd5e Mon Sep 17 00:00:00 2001 From: stan Date: Thu, 26 Sep 2002 21:02:50 +0000 Subject: [PATCH] Fixed syntax error for default monitor. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@71 e3e1d417-86f3-4887-817a-d78f3d33393f --- web/zm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/zm.php b/web/zm.php index 2b7a57c92..15b13b19a 100644 --- a/web/zm.php +++ b/web/zm.php @@ -329,7 +329,7 @@ if ( $action ) if ( !$result ) die( mysql_error() ); $mid = mysql_insert_id(); - $sql = "insert into Zones set MonitorId = $mid, Name = 'All', Type = 'Active' Units = 'Percent' LoX = 0 LoY = 0 HiX = 100 HiY = 100 AlarmRGB = 0xff0000 AlarmThreshold = 25 MinAlarmPixels = 3 MaxAlarmPixels = 75 FilterX = 3 FilterY = 3 MinFilterPixels = 3 MaxFilterPixels = 75 MinBlobPixels = 2 MaxBlobPixels = 0 MinBlobs = 1 MaxBlobs = 0"; + $sql = "insert into Zones set MonitorId = $mid, Name = 'All', Type = 'Active', Units = 'Percent', LoX = 0, LoY = 0, HiX = 100, HiY = 100, AlarmRGB = 0xff0000, AlarmThreshold = 25, MinAlarmPixels = 3, MaxAlarmPixels = 75, FilterX = 3, FilterY = 3, MinFilterPixels = 3, MaxFilterPixels = 75, MinBlobPixels = 2, MaxBlobPixels = 0, MinBlobs = 1, MaxBlobs = 0"; $result = mysql_query( $sql ); if ( !$result ) die( mysql_error() );