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