]> git.mxchange.org Git - friendica.git/commitdiff
Just some notice again
authorMichael <heluecht@pirati.ca>
Wed, 14 Nov 2018 10:54:42 +0000 (10:54 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 14 Nov 2018 10:54:42 +0000 (10:54 +0000)
src/Module/Contact.php

index b7e182dc1461d2ef3caac612fb87ad5143afe905..810d5550cacb7af7cb55bb2f4e3507f0c8b9531a 100644 (file)
@@ -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,