]> git.mxchange.org Git - friendica-addons.git/blobdiff - numfriends/numfriends.php
Update false evaluations
[friendica-addons.git] / numfriends / numfriends.php
index d7f43b4fa5700b19f3efe073c2bf4e850ff94b0f..b6d302d58e6bd38943838446f19aa178c302c0aa 100755 (executable)
@@ -69,8 +69,9 @@ function numfriends_settings(&$a,&$s) {
        /* Get the current state of our config variable */
 
        $numfriends = PConfig::get(local_user(),'system','display_friend_count');
-       if($numfriends === false)
+       if(is_null($numfriends)) {
                $numfriends = 24;
+       }
        
        /* Add some HTML to the existing form */