Browse Source

Avoid a notice

pull/5845/head
Michael 3 years ago
parent
commit
f8b74033a4
  1. 2
      mod/fsuggest.php

2
mod/fsuggest.php

@ -36,7 +36,7 @@ function fsuggest_post(App $a)
$hash = random_string();
$note = escape_tags(trim($_POST['note']));
$note = escape_tags(trim(defaults($_POST, 'note', '')));
if ($new_contact) {
$r = q("SELECT * FROM `contact` WHERE `id` = %d AND `uid` = %d LIMIT 1",

Loading…
Cancel
Save