mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 21:57:51 +02:00
SimpleParse Fix
This commit is contained in:
@@ -738,8 +738,12 @@ class e_parse
|
||||
{
|
||||
$unset = ($this->replaceUnset !== false ? $this->replaceUnset : $tmp[0]);
|
||||
$key = $tmp[1];
|
||||
if(is_array($this->replaceVars))
|
||||
{
|
||||
return ($this->replaceVars[$key] !== null ? $this->replaceVars[$key]: $unset);
|
||||
// return ($this->replaceVars->$tmp[1] !== null ? $this->replaceVars->$tmp[1] : $unset); // Doesn't work.
|
||||
}
|
||||
//
|
||||
return ($this->replaceVars->$tmp[1] !== null ? $this->replaceVars->$tmp[1] : $unset); // Doesn't work.
|
||||
}
|
||||
|
||||
function htmlwrap($str, $width, $break = "\n", $nobreak = "a", $nobr = "pre", $utf = FALSE)
|
||||
|
Reference in New Issue
Block a user