Fixed syntax error for default monitor.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@71 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2002-09-26 21:02:50 +00:00
parent e2088a5842
commit 445e7f16d6
1 changed files with 1 additions and 1 deletions

View File

@ -329,7 +329,7 @@ if ( $action )
if ( !$result ) if ( !$result )
die( mysql_error() ); die( mysql_error() );
$mid = mysql_insert_id(); $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 ); $result = mysql_query( $sql );
if ( !$result ) if ( !$result )
die( mysql_error() ); die( mysql_error() );