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:
parent
bfdbc23242
commit
c52a9c7bb9
|
@ -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 );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue