Skip to content

Commit

Permalink
Merge commit 'refs/changes/17/3917/1' of ssh://gerrit.tuleap.net:2941…
Browse files Browse the repository at this point in the history
…8/tuleap into HEAD

* ssh://gerrit.tuleap.net:29418/tuleap:
  request #8052: Switch between reports don't work in TV3

Change-Id: Iae8a2616d5b33f26cb0fe442ee70f23ca2cf8ece
  • Loading branch information
Dylan Bowden committed Apr 30, 2015
2 parents 585c694 + 642b32e commit 66145a4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/www/include/html.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ function html_build_select_box_from_array ($vals,$select_name,$checked_val='xzxz
return $return;
}

/**
* @deprecated This function miss some purifications voluntary. Please, DO NOT USE it anymore !
*/
function html_build_select_box_from_arrays (
$vals,
$texts,
Expand Down Expand Up @@ -230,10 +233,10 @@ function html_build_select_box_from_arrays (

if ( is_array($checked_val) ) {
$return .= '
<SELECT id="'.$hp->purify($select_name).'" NAME="'.$hp->purify($select_name).'[]" MULTIPLE SIZE="6">';
<SELECT id="'.$select_name.'" NAME="'.$select_name.'[]" MULTIPLE SIZE="6">';
} else {
$return .= '
<SELECT id="'.$hp->purify($select_name).'" NAME="'.$hp->purify($select_name).'">';
<SELECT id="'.$select_name.'" NAME="'.$select_name.'">';
}

/*
Expand Down

0 comments on commit 66145a4

Please sign in to comment.