]> git.mxchange.org Git - friendica.git/blobdiff - mod/bookmarklet.php
Make frio more consistent by replacing textual links with icons everywhere. (#5415)
[friendica.git] / mod / bookmarklet.php
index 88097eb91006ba072942641683c4426420ac4586..a26757740a3daf6625e4edce488951fef8e8c789 100644 (file)
@@ -22,7 +22,7 @@ function bookmarklet_content(App $a)
 {
        if (!local_user()) {
                $o = '<h2>' . L10n::t('Login') . '</h2>';
-               $o .= Login::form($a->query_string, Config::get('config', 'register_policy') === REGISTER_CLOSED ? false : true);
+               $o .= Login::form($a->query_string, intval(Config::get('config', 'register_policy')) === REGISTER_CLOSED ? false : true);
                return $o;
        }