Rename escapeTags to escapeHtml
rename function and update calls.
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user