Skip to content

Commit

Permalink
Avoid notice index missing error when compiling coffescript
Browse files Browse the repository at this point in the history
  • Loading branch information
endorama committed Jan 31, 2012
1 parent 35fe39c commit 6fee7e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wordless/preprocessors/wordless_preprocessor.php
Expand Up @@ -145,7 +145,7 @@ protected function folder_tree($path, $pattern = '*', $flags = 0) {
*/
protected function preference($name) {
$possible_names = array($name);
if (is_array($this->deprecated_preferences[$name])) {
if (isset($this->deprecated_preferences[$name])) {
$possible_names = $this->deprecated_preferences[$name];
array_unshift($possible_names, $name);
}
Expand Down

0 comments on commit 6fee7e7

Please sign in to comment.