From 3921416d34830f9f95f80a893fcab7f466cdcea5 Mon Sep 17 00:00:00 2001 From: Handfeger Date: Tue, 16 Apr 2013 12:55:03 +0200 Subject: [PATCH] Make injectVariables compatible to other vPrefixes --- lessc.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lessc.inc.php b/lessc.inc.php index aaa86930..eba3f458 100644 --- a/lessc.inc.php +++ b/lessc.inc.php @@ -1621,7 +1621,7 @@ protected function injectVariables($args) { $this->pushEnv(); $parser = new lessc_parser($this, __METHOD__); foreach ($args as $name => $strValue) { - if ($name{0} != '@') $name = '@'.$name; + if ($name{0} != $this->vPrefix) $name = $this->vPrefix.$name; $parser->count = 0; $parser->buffer = (string)$strValue; if (!$parser->propertyValue($value)) {