mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-13 11:58:48 +00:00
Update false evaluations
update false to is_null where needed.
This commit is contained in:
parent
f974346d9a
commit
cdc69179fa
4 changed files with 22 additions and 14 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue