Removed warning when x/y %ge not set.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2183 e3e1d417-86f3-4887-817a-d78f3d33393fpull/27/merge
parent
a6f42efe28
commit
8c6a77a9f3
|
@ -159,8 +159,8 @@ if ( isset($xge) || isset($yge) )
|
|||
}
|
||||
case 'move' :
|
||||
{
|
||||
$x_factor = $xge/100;
|
||||
$y_factor = $yge/100;
|
||||
$x_factor = empty($xge)?0:$xge/100;
|
||||
$y_factor = empty($yge)?0:$yge/100;
|
||||
|
||||
if ( $monitor['Orientation'] != '0' )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue