]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Contact/Profile.php
Removed redundant maximagesize = INF statements
[friendica.git] / src / Module / Contact / Profile.php
index b3d0c037339e8c5154e53e56a1f54d079a0ca390..eadc67818d506751551aa1fcae08200afd1c7b62 100644 (file)
@@ -327,7 +327,7 @@ class Profile extends BaseModule
                        '$submit'                    => $this->t('Submit'),
                        '$lbl_info1'                 => $lbl_info1,
                        '$lbl_info2'                 => $this->t('Their personal note'),
-                       '$reason'                    => trim($contact['reason']),
+                       '$reason'                    => trim($contact['reason'] ?? ''),
                        '$infedit'                   => $this->t('Edit contact notes'),
                        '$common_link'               => 'contact/' . $contact['id'] . '/contacts/common',
                        '$relation_text'             => $relation_text,