Skip to content

Commit a81dfa7

Browse files
committed
default args appear in @arguments leafo#178
1 parent 67fb2f0 commit a81dfa7

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

lessc.inc.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1191,12 +1191,7 @@ function zipSetArgs($args, $values) {
11911191
$i++;
11921192
}
11931193

1194-
// copy over any extra default args
1195-
for ($i = count($values); $i < count($assigned_values); $i++) {
1196-
$values[] = $assigned_values[$i];
1197-
}
1198-
1199-
$this->env->arguments = $values;
1194+
$this->env->arguments = $assigned_values;
12001195
}
12011196

12021197
// compile a prop and update $lines or $blocks appropriately

0 commit comments

Comments
 (0)