mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-26 00:08:30 -04:00
Fix using word auto instead of 0
This commit is contained in:
1 parent
bbf50027e8
commit
3bcd0447a7
1 file changed
+1
-1
@@ -127,7 +127,7 @@ if (isset($_REQUEST['scale'])) {
|
||||
$scale = validInt($_REQUEST['scale']);
|
||||
} else if ( isset($_COOKIE['zmWatchScale'.$mid]) ) {
|
||||
$scale = $_COOKIE['zmWatchScale'.$mid];
|
||||
if ($scale == 'auto') $scale = '0';
|
||||
if ($scale == '0') $scale = '0';
|
||||
} else {
|
||||
$scale = $monitor->DefaultScale();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user