X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FEvent.php;h=1bc922b4653ab73144d0ecc52f95a73ab0468841;hb=82cef6c9e7326303d9790451d0a757978246b28c;hp=c705a6ca7d928d593a82ac5cbd4de9a37ae2cfe8;hpb=71b1638d9a6cc44ab294116474c73c12d2df97f7;p=friendica.git diff --git a/src/Model/Event.php b/src/Model/Event.php index c705a6ca7d..1bc922b465 100644 --- a/src/Model/Event.php +++ b/src/Model/Event.php @@ -89,7 +89,7 @@ class Event extends BaseObject $o .= '
' . BBCode::convert($event['desc'], false, $simple) . '
' . "\r\n"; } - if (strlen($event['location'])) { + if (!empty($event['location'])) { $o .= '
' . L10n::t('Location:') . ' ' . BBCode::convert($event['location'], false, $simple) . '
' . "\r\n";