]> git.mxchange.org Git - friendica.git/blobdiff - mod/poco.php
notags calls
[friendica.git] / mod / poco.php
index 08677ef8d46b1ff9da75c6227121f92745c8cccd..0a369502d319a64441e8aae52a289ac4845f3816 100644 (file)
@@ -15,6 +15,7 @@ use Friendica\Core\System;
 use Friendica\Database\DBA;
 use Friendica\Protocol\PortableContact;
 use Friendica\Util\DateTimeFormat;
+use Friendica\Util\Strings;
 use Friendica\Util\XML;
 
 function poco_init(App $a) {
@@ -25,7 +26,7 @@ function poco_init(App $a) {
        }
 
        if ($a->argc > 1) {
-               $user = notags(trim($a->argv[1]));
+               $user = Strings::removeTags(trim($a->argv[1]));
        }
        if (empty($user)) {
                $c = q("SELECT * FROM `pconfig` WHERE `cat` = 'system' AND `k` = 'suggestme' AND `v` = 1");