]> git.mxchange.org Git - friendica.git/blobdiff - mod/fsuggest.php
escape_tags calls
[friendica.git] / mod / fsuggest.php
index f87046f6c9d9b667eccaa023d9bdff17774fda7a..7768c8cf8c72906786c49185831c6d4accb75ed1 100644 (file)
@@ -37,7 +37,7 @@ function fsuggest_post(App $a)
 
        $hash = Strings::getRandomHex();
 
-       $note = escape_tags(trim(defaults($_POST, 'note', '')));
+       $note = Strings::escapeTags(trim(defaults($_POST, 'note', '')));
 
        if ($new_contact) {
                $r = q("SELECT * FROM `contact` WHERE `id` = %d AND `uid` = %d LIMIT 1",