diff options
Diffstat (limited to 'ajax/usersettings.php')
-rw-r--r-- | ajax/usersettings.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ajax/usersettings.php b/ajax/usersettings.php index df8d62a44..010bb49b8 100644 --- a/ajax/usersettings.php +++ b/ajax/usersettings.php @@ -15,8 +15,8 @@ OCP\JSON::checkLoggedIn(); OCP\JSON::checkAppEnabled('news'); OCP\JSON::callCheck(); -if(isset($_POST['showAll'])){ - if($_POST['showAll'] === 'false'){ +if(isset($_POST['showAll'])) { + if($_POST['showAll'] === 'false') { $showAll = false; } else { $showAll = true; |