mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-12 03:18: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
|
@ -49,8 +49,9 @@ function qcomment_addon_settings(&$a,&$s) {
|
|||
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . $a->get_baseurl() . '/addon/qcomment/qcomment.css' . '" media="all" />' . "\r\n";
|
||||
|
||||
$words = PConfig::get(local_user(),'qcomment','words');
|
||||
if($words === false)
|
||||
if(is_null($words)) {
|
||||
$words = t(':-)') . "\n" . t(':-(') . "\n" . t('lol');
|
||||
}
|
||||
|
||||
$s .= '<div class="settings-block">';
|
||||
$s .= '<h3>' . t('Quick Comment Settings') . '</h3>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue