From: Michael Date: Wed, 14 Nov 2018 10:54:42 +0000 (+0000) Subject: Just some notice again X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=268862dd7ca10e6dc31a30a2bf2df6f44acfbbe7;p=friendica.git Just some notice again --- diff --git a/src/Module/Contact.php b/src/Module/Contact.php index b7e182dc14..810d5550ca 100644 --- a/src/Module/Contact.php +++ b/src/Module/Contact.php @@ -221,7 +221,7 @@ class Contact extends BaseModule $priority = 0; } - $info = Strings::escapeHtml(trim($_POST['info'])); + $info = Strings::escapeHtml(trim(defaults($_POST, 'info', ''))); $r = DBA::update('contact', [ 'profile-id' => $profile_id,