summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2014-06-18 16:53:54 +0600
committerStas Vilchik <vilchiks@gmail.com>2014-06-18 16:53:54 +0600
commitf7cbf1b27d2b45879c7cea2cc6b2dd7d3effea32 (patch)
tree0b771e63d682bde88460338d77b77a7ecace9552
parent11fbf69fa019e0165e43d684178534219c831bc9 (diff)
downloadsonarqube-f7cbf1b27d2b45879c7cea2cc6b2dd7d3effea32.tar.gz
sonarqube-f7cbf1b27d2b45879c7cea2cc6b2dd7d3effea32.zip
Fix issues comments
-rw-r--r--sonar-server/src/main/js/common/handlebars-extensions.js2
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;
}
});