mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +02:00
Use Call::fromCall()
in Visitor::visitCall()
irrespective of calling function name
This commit is contained in:
parent
ff551392c7
commit
2c3bc6ea95
@ -65,11 +65,9 @@ CSS;
|
|||||||
|
|
||||||
public function visitCall($c)
|
public function visitCall($c)
|
||||||
{
|
{
|
||||||
if ($c->name !== 'var') {
|
|
||||||
// We need to use our own tree call class , so that we can precompile the arguments before making
|
// We need to use our own tree call class , so that we can precompile the arguments before making
|
||||||
// the actual LESS function calls. Otherwise, it will produce lots of invalid argument exceptions!
|
// the actual LESS function calls. Otherwise, it will produce lots of invalid argument exceptions!
|
||||||
$c = Call::fromCall($c);
|
$c = Call::fromCall($c);
|
||||||
}
|
|
||||||
|
|
||||||
return $c;
|
return $c;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user