1
0
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:
Cameron
2016-02-15 19:59:47 -08:00
parent 9f96a70e76
commit 1e9da76395
5 changed files with 39 additions and 23 deletions

View File

@@ -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)