diff --git a/Objective-J/CPLog.js b/Objective-J/CPLog.js index c32def225..43286506d 100644 --- a/Objective-J/CPLog.js +++ b/Objective-J/CPLog.js @@ -45,7 +45,7 @@ exports.CPLogRegisterRange = function(aProvider, aMinLevel, aMaxLevel) { var min = _CPLogLevelsInverted[aMinLevel]; var max = _CPLogLevelsInverted[aMaxLevel]; - + if (min !== undefined && max !== undefined) for (var i = 0; i <= max; i++) CPLogRegisterSingle(aProvider, CPLogLevels[i]);