It is not OK

This error occured in qoute and not work
Code:
$this->handle_bbcode_url(str_replace('\"', '"', 'https://images2.imgbox.com/5f/28/NEN92qNM_o.png'), '')
Quote:
Originally Posted by iA1
It is php error. Just remove e from preg_replace.
Updated code will be like this:
Code:
// Start IMG to URL BBCode Converter
if ($this->contains_bbcode_img_tags($message))
{
$message = preg_replace('#\[img\]\s*(https?://([^<>*"]+|[a-z0-9/\\._\- !]+))\[/img\]#iU', "\$this->handle_bbcode_url(str_replace('\\\"', '\"', '\\1'), '')", $message);
}
// End IMG to URL BBCode Converter
|