mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 22:57:14 +02:00
Forum: PHP7 parser fix.
This commit is contained in:
@@ -835,7 +835,8 @@ class e_parse_shortcode
|
||||
{
|
||||
if ($this->eVars->isVar($matches[1]))
|
||||
{
|
||||
return $this->eVars->$matches[1];
|
||||
$match1 = $matches[1]; // php7 fix.
|
||||
return $this->eVars->$match1;
|
||||
}
|
||||
}
|
||||
if (strpos($matches[1], E_NL) !== false)
|
||||
|
Reference in New Issue
Block a user