]> git.mxchange.org Git - friendica.git/blobdiff - mod/poco.php
Just some more fixed notice
[friendica.git] / mod / poco.php
index de3b42bb754ab132456af112d29e71159444eb1b..d263afc9a0be44a324c5cb59f84bb54419c3f5f8 100644 (file)
@@ -23,9 +23,9 @@ function poco_init(App $a) {
        if ($a->argc > 1) {
                $user = notags(trim($a->argv[1]));
        }
-       if (! x($user)) {
+       if (empty($user)) {
                $c = q("SELECT * FROM `pconfig` WHERE `cat` = 'system' AND `k` = 'suggestme' AND `v` = 1");
-               if (! DBM::is_result($c)) {
+               if (!DBM::is_result($c)) {
                        System::httpExit(401);
                }
                $system_mode = true;