aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-11-25 14:08:15 -0800
committerzotlabs <mike@macgirvin.com>2017-11-25 14:08:15 -0800
commit4471f580d7a50126d42690f05e81a75f7bbf8084 (patch)
tree54e4fd3146a3978de744a39de6b7938d763852dd /include/text.php
parente5141dd91bf483b0458b6f9226b994afbee23524 (diff)
parente1fdac32782de11e443c7398ff3fb9870fa9b2d9 (diff)
downloadvolse-hubzilla-4471f580d7a50126d42690f05e81a75f7bbf8084.tar.gz
volse-hubzilla-4471f580d7a50126d42690f05e81a75f7bbf8084.tar.bz2
volse-hubzilla-4471f580d7a50126d42690f05e81a75f7bbf8084.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
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);