error in directory bbcode image filter
This commit is contained in:
parent
84c085dcd7
commit
c1e139a550
@ -968,5 +968,5 @@ function bbcode($Text, $preserve_nl = false, $tryoembed = true) {
|
|||||||
|
|
||||||
|
|
||||||
function strip_bbimage($s) {
|
function strip_bbimage($s) {
|
||||||
$Text = preg_replace("/\[[zi]mg(.*?)\](.*?)\[\/[zi]mg\]/ism", '', $Text);
|
return preg_replace("/\[[zi]mg(.*?)\](.*?)\[\/[zi]mg\]/ism", '', $s);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user