Fix using word auto instead of 0

This commit is contained in:
Isaac Connor committed 2022-05-10 14:08:56 -04:00
1 parent bbf50027e8
commit 3bcd0447a7
1 file changed
+1 -1
+1 -1
View File
@@ -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();
}