aboutsummaryrefslogtreecommitdiff
path: root/lib/less.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/less.php/Less.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/less.php/Less.php b/lib/less.php/Less.php
index 44cdffc..a68b749 100644
--- a/lib/less.php/Less.php
+++ b/lib/less.php/Less.php
@@ -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));
}
//