]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Contact.php
escape_tags calls
[friendica.git] / src / Module / Contact.php
index c25665f247433e3b135912aad15be1155d03f1a0..75e2af7b2769000d5e91da246025fcda2d93139a 100644 (file)
@@ -214,14 +214,14 @@ class Contact extends BaseModule
 
                $fetch_further_information = intval(defaults($_POST, 'fetch_further_information', 0));
 
-               $ffi_keyword_blacklist = escape_tags(trim(defaults($_POST, 'ffi_keyword_blacklist', '')));
+               $ffi_keyword_blacklist = Strings::escapeTags(trim(defaults($_POST, 'ffi_keyword_blacklist', '')));
 
                $priority = intval(defaults($_POST, 'poll', 0));
                if ($priority > 5 || $priority < 0) {
                        $priority = 0;
                }
 
-               $info = escape_tags(trim($_POST['info']));
+               $info = Strings::escapeTags(trim($_POST['info']));
 
                $r = DBA::update('contact', [
                        'profile-id' => $profile_id,