mirror of
https://github.com/friendica/friendica
synced 2025-04-24 08:30:11 +00:00
Avoid notice
This commit is contained in:
parent
e72e74f7db
commit
c972cce740
2 changed files with 10 additions and 8 deletions
|
@ -1729,7 +1729,7 @@ class BBCode
|
|||
// start which is always required). Allow desc with a missing summary for compatibility.
|
||||
|
||||
if ((!empty($ev['desc']) || !empty($ev['summary'])) && !empty($ev['start'])) {
|
||||
$sub = Event::getHTML($ev, $simple_html);
|
||||
$sub = Event::getHTML($ev, $simple_html, $uriid);
|
||||
|
||||
$text = preg_replace("/\[event\-summary\](.*?)\[\/event\-summary\]/ism", '', $text);
|
||||
$text = preg_replace("/\[event\-description\](.*?)\[\/event\-description\]/ism", '', $text);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue