Unset points before getting changes.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1655 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2005-12-05 12:19:46 +00:00
parent bfdbc23242
commit c52a9c7bb9
1 changed files with 1 additions and 0 deletions

View File

@ -1037,6 +1037,7 @@ if ( isset($action) )
$new_zone['MaxBlobPixels'] = intval(($new_zone['MaxBlobPixels']*$new_zone['Area'])/100); $new_zone['MaxBlobPixels'] = intval(($new_zone['MaxBlobPixels']*$new_zone['Area'])/100);
} }
unset( $new_zone['Points'] );
$types = array(); $types = array();
$changes = getFormChanges( $zone, $new_zone, $types ); $changes = getFormChanges( $zone, $new_zone, $types );