Skip to content

Commit

Permalink
SONAR-5999 Fail to render profile comparison page when parameter id1 …
Browse files Browse the repository at this point in the history
…is declared as an array
  • Loading branch information
julienlancelot committed Feb 12, 2015
1 parent 5288f5b commit ee74a8e
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -9,12 +9,12 @@
<form method="GET" class="marginbottom10">
<select name="id1" class="small">
<option value=""></option>
<%= options_for_profiles(@profiles, params[:id1].to_i) %>
<%= options_for_profiles(@profiles, params[:id1]) %>
</select>

<select name="id2" class="small">
<option value=""></option>
<%= options_for_profiles(@profiles, params[:id2].to_i) %>
<%= options_for_profiles(@profiles, params[:id2]) %>
</select>
<input type="submit" value="<%= message('compare') -%>" class="small" id="submit-compare"/>
</form>
Expand Down

0 comments on commit ee74a8e

Please sign in to comment.