diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-05-31 22:22:37 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-05-31 22:22:37 -0700 |
commit | c1e139a550e864117ec092a38b47755ffcf46475 (patch) | |
tree | 021f8d02a3e50e115bf910bdc7fb018d5bfc31bd /include | |
parent | 84c085dcd7c88fbea1f143f0ee3029685617afe9 (diff) | |
download | volse-hubzilla-c1e139a550e864117ec092a38b47755ffcf46475.tar.gz volse-hubzilla-c1e139a550e864117ec092a38b47755ffcf46475.tar.bz2 volse-hubzilla-c1e139a550e864117ec092a38b47755ffcf46475.zip |
error in directory bbcode image filter
Diffstat (limited to 'include')
-rw-r--r-- | include/bbcode.php | 2 |
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); } |