diff options
author | zotlabs <mike@macgirvin.com> | 2017-11-23 15:21:50 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-11-23 15:21:50 -0800 |
commit | a99ebd42ec47ea531496f8ca5c07bf2868e21467 (patch) | |
tree | ec417053a87c0e501cb93c70c8ad3adc07abd8b2 /include/text.php | |
parent | 0cfe2ecd7bd77e2208e444350804682652686acc (diff) | |
download | volse-hubzilla-a99ebd42ec47ea531496f8ca5c07bf2868e21467.tar.gz volse-hubzilla-a99ebd42ec47ea531496f8ca5c07bf2868e21467.tar.bz2 volse-hubzilla-a99ebd42ec47ea531496f8ca5c07bf2868e21467.zip |
change to bbcode calling parameters: important: will require pulling addons;
also some extra checking of server headers in upload functions
Diffstat (limited to 'include/text.php')
-rw-r--r-- | include/text.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/text.php b/include/text.php index 343e3f00b..f3d522e04 100644 --- a/include/text.php +++ b/include/text.php @@ -1679,9 +1679,9 @@ function prepare_text($text, $content_type = 'text/bbcode', $cache = false) { require_once('include/bbcode.php'); if(stristr($text,'[nosmile]')) - $s = bbcode($text,false,true,$cache); + $s = bbcode($text, [ 'cache' => $cache ]); else - $s = smilies(bbcode($text,false,true,$cache)); + $s = smilies(bbcode($text, [ 'cache' => $cache ])); $s = zidify_links($s); |