aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-01-20 09:49:23 +0100
committerStas Vilchik <vilchiks@gmail.com>2016-01-20 09:49:23 +0100
commited802001a50e8d96d739ecc1b0097d8042a47155 (patch)
treecde40aaf00f5464d00aa2104729d905f8f50b3e1 /server
parentca3f4115aa71c3cf550246642784b3ac361c31a9 (diff)
downloadsonarqube-ed802001a50e8d96d739ecc1b0097d8042a47155.tar.gz
sonarqube-ed802001a50e8d96d739ecc1b0097d8042a47155.zip
SONAR-4610 relax check
Diffstat (limited to 'server')
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/app/views/settings/_type_LICENSE.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/settings/_type_LICENSE.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/settings/_type_LICENSE.html.erb
index b28e4cd0efc..aeaa68efed4 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/app/views/settings/_type_LICENSE.html.erb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/settings/_type_LICENSE.html.erb
@@ -6,7 +6,7 @@
product = license.getProduct() || '-'
# super-hack here
# should be avoided in the future
- does_product_match = property.key == "sonar.#{product}.license.secured"
+ does_product_match = property.key.include? product
%>
<div class="width100">
<textarea rows="6" name="<%= name -%>" id="<%= id -%>" style="float: left;width: 390px"><%= h value -%></textarea>