diff options
author | friendica <info@friendica.com> | 2012-06-25 21:20:08 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-06-25 21:20:08 -0700 |
commit | 359a98cd22318badd9c5bb1115678181b75c9edc (patch) | |
tree | c811c5e0e1a42a8b33249a15c8755784af03b294 /include | |
parent | fbaca4b74237c80c380d6ccf2bdddeec5ad4f013 (diff) | |
download | volse-hubzilla-359a98cd22318badd9c5bb1115678181b75c9edc.tar.gz volse-hubzilla-359a98cd22318badd9c5bb1115678181b75c9edc.tar.bz2 volse-hubzilla-359a98cd22318badd9c5bb1115678181b75c9edc.zip |
change event behaviour so that title is required but description is not
Diffstat (limited to 'include')
-rw-r--r-- | include/bbcode.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/bbcode.php b/include/bbcode.php index effdd0be8..c64d5d036 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -302,8 +302,8 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true) { $sub = format_event_html($ev); $Text = preg_replace("/\[event\-summary\](.*?)\[\/event\-summary\]/ism",'',$Text); - $Text = preg_replace("/\[event\-description\](.*?)\[\/event\-description\]/ism",$sub,$Text); - $Text = preg_replace("/\[event\-start\](.*?)\[\/event\-start\]/ism",'',$Text); + $Text = preg_replace("/\[event\-description\](.*?)\[\/event\-description\]/ism",'',$Text); + $Text = preg_replace("/\[event\-start\](.*?)\[\/event\-start\]/ism",$sub,$Text); $Text = preg_replace("/\[event\-finish\](.*?)\[\/event\-finish\]/ism",'',$Text); $Text = preg_replace("/\[event\-location\](.*?)\[\/event\-location\]/ism",'',$Text); $Text = preg_replace("/\[event\-adjust\](.*?)\[\/event\-adjust\]/ism",'',$Text); |