aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-11-23 15:21:50 -0800
committerzotlabs <mike@macgirvin.com>2017-11-23 15:21:50 -0800
commita99ebd42ec47ea531496f8ca5c07bf2868e21467 (patch)
treeec417053a87c0e501cb93c70c8ad3adc07abd8b2 /include/text.php
parent0cfe2ecd7bd77e2208e444350804682652686acc (diff)
downloadvolse-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.php4
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);