Fix using word auto instead of 0

pull/3482/head
Isaac Connor 2022-05-10 14:08:56 -04:00
parent bbf50027e8
commit 3bcd0447a7
1 changed files with 1 additions and 1 deletions

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();
}