diff options
Diffstat (limited to 'src/ng/log.js')
| -rw-r--r-- | src/ng/log.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ng/log.js b/src/ng/log.js index e0a1aec3..0678ac21 100644 --- a/src/ng/log.js +++ b/src/ng/log.js @@ -151,7 +151,7 @@ function $LogProvider(){ // we are IE which either doesn't have window.console => this is noop and we do nothing, // or we are IE where console.log doesn't have apply so we log at least first 2 args return function(arg1, arg2) { - logFn(arg1, arg2); + logFn(arg1, arg2 == null ? '' : arg2); } } }]; |
