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

@ -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",