mirror of
https://github.com/friendica/friendica
synced 2025-04-26 19:50:10 +00:00
Once again, notices ... (#5535)
This commit is contained in:
parent
4bd7daa205
commit
71b1638d9a
6 changed files with 15 additions and 4 deletions
|
@ -48,9 +48,13 @@ class Event extends BaseObject
|
|||
}
|
||||
|
||||
if ($simple) {
|
||||
$o = "<h3>" . BBCode::convert($event['summary'], false, $simple) . "</h3>";
|
||||
if (!empty($event['summary'])) {
|
||||
$o = "<h3>" . BBCode::convert($event['summary'], false, $simple) . "</h3>";
|
||||
}
|
||||
|
||||
$o .= "<div>" . BBCode::convert($event['desc'], false, $simple) . "</div>";
|
||||
if (!empty($event['desc'])) {
|
||||
$o .= "<div>" . BBCode::convert($event['desc'], false, $simple) . "</div>";
|
||||
}
|
||||
|
||||
$o .= "<h4>" . L10n::t('Starts:') . "</h4><p>" . $event_start . "</p>";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue