Merge pull request #13651 from annando/picture-upload
Fix the preview mode setting
This commit is contained in:
commit
dcd47c391c
|
@ -108,8 +108,8 @@ 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'];
|
||||
$browser_update = (bool)$request['browser_update'];
|
||||
$preview_mode = (int)$request['preview_mode'];
|
||||
$browser_update = (int)$request['browser_update'];
|
||||
if ($browser_update != -1) {
|
||||
$browser_update = $browser_update * 1000;
|
||||
if ($browser_update < 10000) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user