]> git.mxchange.org Git - friendica-addons.git/blobdiff - qcomment/qcomment.php
Update false evaluations
[friendica-addons.git] / qcomment / qcomment.php
index 90826e54117bb2938b903110df4aea6a8e678da9..2a44fcb09dd45243372193ebd9807e51f26cb00d 100755 (executable)
@@ -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>';