fix php 7.4 problem

This commit is contained in:
Andreas Hubel 2020-05-01 17:02:56 +02:00
parent 6641ddb4a2
commit f44ec0d772

View file

@ -1762,7 +1762,7 @@ class Less_Parser{
$this->expectChar(']');
return $this->NewObj3('Less_Tree_Attribute',array( $key, $op[0], $val));
return $this->NewObj3('Less_Tree_Attribute',array( $key, is_array($op) ? $op[0] : null, $val));
}
//