diff options
Diffstat (limited to 'includes/classes/Contact.php')
| -rwxr-xr-x | includes/classes/Contact.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/classes/Contact.php b/includes/classes/Contact.php index 4cea7d0..bb48666 100755 --- a/includes/classes/Contact.php +++ b/includes/classes/Contact.php @@ -105,7 +105,7 @@ class Contact extends LibertyContent { $this->mInfo['creator'] = $result->fields['creator_real_name'] ?? $result->fields['creator_user']; $this->mInfo['editor'] = $result->fields['modifier_real_name'] ?? $result->fields['modifier_user']; $this->mInfo['display_url'] = $this->getDisplayUrl(); - $this->mInfo['organisation'] = trim($this->mInfo['organisation']); + $this->mInfo['organisation'] = trim($this->mInfo['organisation'] ?? ''); $name = explode( '|', $this->mInfo['name'] ?? '' ); $this->mInfo['prefix'] = $name[0] ?? ''; $this->mInfo['forename'] = $name[1] ?? ''; |
