Skip to content

Commit

Permalink
Dev : Fix the fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnoulle committed Feb 29, 2012
1 parent 92a4f02 commit bd8f704
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions qanda.php
Expand Up @@ -1469,7 +1469,7 @@ function do_list_dropdown($ia)
if ($prefixStyle == 1) {
$_prefix = ++$_rowNum . ') ';
}
$answer .= ' <option value="-oth-"'.$opt_select.'>'.$_prefix.$othertext."</option>\n";
$answer .= '<option value="-oth-"'.$opt_select.'>'.$_prefix.$othertext."</option>\n";
}

if ((isset($_SESSION[$ia[1]]) || $_SESSION[$ia[1]] != '') && $ia[6] != 'Y' && $ia[6] != 'Y' && SHOW_NO_ANSWER == 1)
Expand All @@ -1479,8 +1479,7 @@ function do_list_dropdown($ia)
}
$answer .= '<option value="">'.$_prefix.$clang->gT('No answer')."</option>\n";
}
$answer .= '
<input type="hidden" name="java'.$ia[1].'" id="java'.$ia[1].'" value="'.$_SESSION[$ia[1]].'" />';
$answer .= '<input type="hidden" name="java'.$ia[1].'" id="java'.$ia[1].'" value="'.$_SESSION[$ia[1]].'" />';

if (isset($other) && $other=='Y')
{
Expand All @@ -1496,6 +1495,7 @@ function do_list_dropdown($ia)
<select name="'.$ia[1].'" id="answer'.$ia[1].'"'.$dropdownSize.' onchange="'.$checkconditionFunction.'(this.value, this.name, this.type);'.$sselect_show_hide.'">
';
$answer = $sselect.$answer;
$answer .= "</select>";

if (isset($other) && $other=='Y')
{
Expand Down

0 comments on commit bd8f704

Please sign in to comment.