[ExtendedProfile] Fix misuse of XMLOutputter

Argument 1 passed to xmloutputter::text() must be of the type string, null given, called in /srv/gnusocial/plugins/ExtendedProfile/lib/extendedprofilewidget.php on line 556
This commit is contained in:
Diogo Cordeiro
2020-07-17 20:50:16 +01:00
committed by Diogo Peralta Cordeiro
parent 58af4799ee
commit 80a4811539
2 changed files with 4 additions and 4 deletions

View File

@@ -553,7 +553,7 @@ class ExtendedProfileWidget extends Form
case 'text':
case 'textarea':
case 'person':
$this->out->text($this->ext->getTextValue($name));
$this->out->text($this->ext->getTextValue($name) ?? '');
break;
case 'custom-text':
case 'custom-textarea':