mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Merge pull request #222 from Sleuthhound/patch-1
Глобальная переменная в качестве параметра
This commit is contained in:
commit
9d1f0c4cae
@ -1455,6 +1455,7 @@ class Template extends Render
|
|||||||
if (!$arg && $tokens->is(
|
if (!$arg && $tokens->is(
|
||||||
T_VARIABLE,
|
T_VARIABLE,
|
||||||
T_STRING,
|
T_STRING,
|
||||||
|
"$",
|
||||||
"(",
|
"(",
|
||||||
Tokenizer::MACRO_SCALAR,
|
Tokenizer::MACRO_SCALAR,
|
||||||
'"',
|
'"',
|
||||||
@ -1544,4 +1545,4 @@ class Template extends Render
|
|||||||
|
|
||||||
return $params;
|
return $params;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user