Update false evaluations

update false to is_null where needed.
This commit is contained in:
Adam Magness 2017-12-06 16:02:21 -05:00
parent f974346d9a
commit cdc69179fa
4 changed files with 22 additions and 14 deletions

View file

@ -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>';