mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 08:14:03 +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)
|
||||
{
|
||||
if ($c->name !== 'var') {
|
||||
// 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!
|
||||
$c = Call::fromCall($c);
|
||||
}
|
||||
|
||||
return $c;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user