$hash = Strings::getRandomHex();
- $note = escape_tags(trim(defaults($_POST, 'note', '')));
+ $note = Strings::escapeTags(trim(defaults($_POST, 'note', '')));
if ($new_contact) {
$r = q("SELECT * FROM `contact` WHERE `id` = %d AND `uid` = %d LIMIT 1",