mirror of
https://github.com/friendica/friendica
synced 2024-11-18 05:03:40 +00:00
Avoid a notice
This commit is contained in:
parent
192c6c8d4f
commit
f8b74033a4
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue