From: Michael Date: Fri, 17 Nov 2023 23:30:28 +0000 (+0000) Subject: Fix the preview mode setting X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6adf76c689c716b0bb0b3afd9170c63514f9ac39;p=friendica.git Fix the preview mode setting --- diff --git a/src/Module/Settings/Display.php b/src/Module/Settings/Display.php index 3cb5e44e2d..60bc5e5e0a 100644 --- a/src/Module/Settings/Display.php +++ b/src/Module/Settings/Display.php @@ -108,7 +108,7 @@ class Display extends BaseSettings $display_resharer = (bool)$request['display_resharer']; $stay_local = (bool)$request['stay_local']; $show_page_drop = (bool)$request['show_page_drop']; - $preview_mode = (bool)$request['preview_mode']; + $preview_mode = (int)$request['preview_mode']; $browser_update = (bool)$request['browser_update']; if ($browser_update != -1) { $browser_update = $browser_update * 1000;