diff options
Diffstat (limited to 'sonar-server/src/main/js/common/handlebars-extensions.js')
-rw-r--r-- | sonar-server/src/main/js/common/handlebars-extensions.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/js/common/handlebars-extensions.js b/sonar-server/src/main/js/common/handlebars-extensions.js index bb4e6027502..9f6348a61c8 100644 --- a/sonar-server/src/main/js/common/handlebars-extensions.js +++ b/sonar-server/src/main/js/common/handlebars-extensions.js @@ -77,7 +77,7 @@ define(['handlebars', 'moment'], function (Handlebars, moment) { var args = Array.prototype.slice.call(arguments), ret = null; args.forEach(function(arg) { - if (arg != null && ret == null) { + if (_.isString(arg) && ret == null) { ret = arg; } }); |