Quote:
Originally Posted by mitch84
hi Stratis, is that line 163 I need to replace with this code? thanks
|
Yes, actually...
In
vfc_hide_core.php
Find this:
Code:
$message = preg_replace("/\[" . $tag . "=("|\"|'|)([0-9,\s]+)\\1\](.*)\[\/" . $tag . "\]/esiU", "\$this->tagparser->\$parser('\\3', '\\2')", $message);
And change with this:
Code:
$tagparser = $this->tagparser;
$message = preg_replace_callback(
"/\[" . $tag . "=("|\"|'|)([0-9,\s]+)\\1\](.*)\[\/" . $tag . "\]/siU",
function($m) use ($parser, $tagparser) { return $tagparser->$parser($m[3], $m[2]); },
$message
);