aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-05-31 22:22:37 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-05-31 22:22:37 -0700
commitc1e139a550e864117ec092a38b47755ffcf46475 (patch)
tree021f8d02a3e50e115bf910bdc7fb018d5bfc31bd
parent84c085dcd7c88fbea1f143f0ee3029685617afe9 (diff)
downloadvolse-hubzilla-c1e139a550e864117ec092a38b47755ffcf46475.tar.gz
volse-hubzilla-c1e139a550e864117ec092a38b47755ffcf46475.tar.bz2
volse-hubzilla-c1e139a550e864117ec092a38b47755ffcf46475.zip
error in directory bbcode image filter
-rw-r--r--include/bbcode.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index e2403b8eb..e248c3771 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -968,5 +968,5 @@ function bbcode($Text, $preserve_nl = false, $tryoembed = true) {
function strip_bbimage($s) {
- $Text = preg_replace("/\[[zi]mg(.*?)\](.*?)\[\/[zi]mg\]/ism", '', $Text);
+ return preg_replace("/\[[zi]mg(.*?)\](.*?)\[\/[zi]mg\]/ism", '', $s);
}