Permalink
Browse files

bugfix for utl.override2

  • Loading branch information...
1 parent 1f41ee2 commit 0c6c6c742db5614804b59c0625e7bb6ac05917ca @kaven276 committed Sep 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/util.js
View
@@ -40,7 +40,7 @@ exports.override = function(def, setting){
exports.override2 = function(def, setting){
for (var n in def)
- if (setting[n])
+ if (n in setting)
def[n] = setting[n];
else
def[n] = def[n];

0 comments on commit 0c6c6c7

Please sign in to comment.