]> git.mxchange.org Git - friendica-addons.git/blobdiff - notimeline/notimeline.php
Update false evaluations
[friendica-addons.git] / notimeline / notimeline.php
index 33e66b13261991bde7b40ca09fcdfe77fe1ba3c9..8f0727183e52295128b399d386ca87ee42e7b31f 100644 (file)
@@ -45,8 +45,9 @@ function notimeline_settings(&$a,&$s) {
        /* Get the current state of our config variable */
 
        $notimeline = PConfig::get(local_user(),'system','no_wall_archive_widget');
-       if($notimeline === false)
+       if(is_null($notimeline)) {
                $notimeline = false;
+       }
 
        $notimeline_checked = (($notimeline) ? ' checked="checked" ' : '');