mirror of
https://github.com/friendica/friendica
synced 2025-04-22 05:50:13 +00:00
escape_tags calls
implement escapeTags function
This commit is contained in:
parent
a0f65ca7a1
commit
0e01568ccd
16 changed files with 52 additions and 50 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue