error in directory bbcode image filter

This commit is contained in:
redmatrix 2015-05-31 22:22:37 -07:00
parent 84c085dcd7
commit c1e139a550

View File

@ -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);
}