]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/vier/theme.php
normalise_link calls
[friendica.git] / view / theme / vier / theme.php
index fb4f66431b1bbb6470682edb48261ecca2dd70fa..9427f1f23b5038739327dc23f362a9b8ed874427 100644 (file)
@@ -21,6 +21,7 @@ use Friendica\Database\DBA;
 use Friendica\Model\Contact;
 use Friendica\Model\GContact;
 use Friendica\Util\Proxy as ProxyUtils;
+use Friendica\Util\Strings;
 
 function vier_init(App $a)
 {
@@ -277,7 +278,7 @@ function vier_community_info()
                                        $query .= ",";
                                }
 
-                               $query .= "'".DBA::escape(normalise_link(trim($helper)))."'";
+                               $query .= "'".DBA::escape(Strings::normaliseLink(trim($helper)))."'";
                        }
 
                        $r = q("SELECT `url`, `name` FROM `gcontact` WHERE `nurl` IN (%s)", $query);