diff --git a/app/lib/lessc.inc.php b/app/lib/lessc.inc.php index f956da3..0be1e5d 100644 --- a/app/lib/lessc.inc.php +++ b/app/lib/lessc.inc.php @@ -662,7 +662,7 @@ protected function zipSetArgs($args, $orderedValues, $keywordValues) { // check for a rest $last = end($args); - if ($last[0] == "rest") { + if (is_array($last) && $last[0] == "rest") { $rest = array_slice($orderedValues, count($args) - 1); $this->set($last[1], $this->reduce(array("list", " ", $rest))); }