aboutsummaryrefslogtreecommitdiffstats
path: root/include/bbcode.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-10-31 21:48:00 -0700
committerzotlabs <mike@macgirvin.com>2016-10-31 21:48:00 -0700
commit863ee9e6dd890d49602b67b9ffbed1bab816b54c (patch)
tree64c30209d0a82261506de378462f0fcc147c6274 /include/bbcode.php
parent4ebd604ca99cbeb11b695eee0a3387972fde88bb (diff)
downloadvolse-hubzilla-863ee9e6dd890d49602b67b9ffbed1bab816b54c.tar.gz
volse-hubzilla-863ee9e6dd890d49602b67b9ffbed1bab816b54c.tar.bz2
volse-hubzilla-863ee9e6dd890d49602b67b9ffbed1bab816b54c.zip
bbcode event formatting issue
Diffstat (limited to 'include/bbcode.php')
-rw-r--r--include/bbcode.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index c3041c6a6..75e8a0f52 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -550,7 +550,6 @@ function bbcode($Text, $preserve_nl = false, $tryoembed = true, $cache = false)
// process [observer] tags before we do anything else because we might
// be stripping away stuff that then doesn't need to be worked on anymore
-
if($cache)
$observer = false;
else
@@ -1028,7 +1027,7 @@ function bbcode($Text, $preserve_nl = false, $tryoembed = true, $cache = false)
// Summary (e.g. title) is required, earlier revisions only required description (in addition to
// start which is always required). Allow desc with a missing summary for compatibility.
- if ((x($ev,'desc') || x($ev,'summary')) && x($ev,'start')) {
+ if ((x($ev,'desc') || x($ev,'summary')) && x($ev,'dtstart')) {
$sub = format_event_html($ev);