]> git.mxchange.org Git - friendica.git/commitdiff
"browser_update" is integer, not boolean
authorMichael <heluecht@pirati.ca>
Sat, 18 Nov 2023 11:24:29 +0000 (11:24 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 18 Nov 2023 11:24:29 +0000 (11:24 +0000)
src/Module/Settings/Display.php

index 60bc5e5e0a3a247d31200f37105e0c8e2312bb7f..58e7c5334665fd88bdad8b46a9c09abf7babbe9c 100644 (file)
@@ -109,7 +109,7 @@ class Display extends BaseSettings
                $stay_local             = (bool)$request['stay_local'];
                $show_page_drop         = (bool)$request['show_page_drop'];
                $preview_mode           = (int)$request['preview_mode'];
-               $browser_update         = (bool)$request['browser_update'];
+               $browser_update         = (int)$request['browser_update'];
                if ($browser_update != -1) {
                        $browser_update = $browser_update * 1000;
                        if ($browser_update < 10000) {