]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Event.php
Merge pull request #5575 from annando/issue-5541
[friendica.git] / src / Model / Event.php
index c705a6ca7d928d593a82ac5cbd4de9a37ae2cfe8..1bc922b4653ab73144d0ecc52f95a73ab0468841 100644 (file)
@@ -89,7 +89,7 @@ class Event extends BaseObject
                        $o .= '<div class="description event-description">' . BBCode::convert($event['desc'], false, $simple) . '</div>' . "\r\n";
                }
 
-               if (strlen($event['location'])) {
+               if (!empty($event['location'])) {
                        $o .= '<div class="event-location"><span class="event-label">' . L10n::t('Location:') . '</span>&nbsp;<span class="location">'
                                . BBCode::convert($event['location'], false, $simple)
                                . '</span></div>' . "\r\n";