diff --git a/lib/handlebars/base.js b/lib/handlebars/base.js index 44a369c5e..b8e11eb2f 100644 --- a/lib/handlebars/base.js +++ b/lib/handlebars/base.js @@ -137,7 +137,7 @@ Handlebars.registerHelper('if', function(conditional, options) { var type = toString.call(conditional); if(type === functionType) { conditional = conditional.call(this); } - if(!conditional || Handlebars.Utils.isEmpty(conditional)) { + if(Handlebars.Utils.isEmpty(conditional)) { return options.inverse(this); } else { return options.fn(this);