Rename escapeTags to escapeHtml

rename function and update calls.
This commit is contained in:
Adam Magness 2018-11-09 13:27:58 -05:00
parent b5a97c1abe
commit 063f0e9cb0
16 changed files with 44 additions and 44 deletions

View file

@ -214,14 +214,14 @@ class Contact extends BaseModule
$fetch_further_information = intval(defaults($_POST, 'fetch_further_information', 0));
$ffi_keyword_blacklist = Strings::escapeTags(trim(defaults($_POST, 'ffi_keyword_blacklist', '')));
$ffi_keyword_blacklist = Strings::escapeHtml(trim(defaults($_POST, 'ffi_keyword_blacklist', '')));
$priority = intval(defaults($_POST, 'poll', 0));
if ($priority > 5 || $priority < 0) {
$priority = 0;
}
$info = Strings::escapeTags(trim($_POST['info']));
$info = Strings::escapeHtml(trim($_POST['info']));
$r = DBA::update('contact', [
'profile-id' => $profile_id,