Skip to content

Commit

Permalink
options[] is full of other values!
Browse files Browse the repository at this point in the history
  • Loading branch information
danmarsden committed Apr 1, 2005
1 parent bd3ba1d commit 869366e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions mod/choice/mod.html
Expand Up @@ -221,9 +221,9 @@
<td align="right"><strong><?php print_string("allowupdate","choice") ?>:</strong></td>
<td>
<?php
$options[0] = get_string("no");
$options[1] = get_string("yes");
choose_from_menu($options, "allowupdate", "$form->allowupdate", "");
$menuoptions[0] = get_string("no");
$menuoptions[1] = get_string("yes");
choose_from_menu($menuoptions, "allowupdate", "$form->allowupdate", "");
?>
<br />
</td>
Expand All @@ -234,9 +234,9 @@
<td align="right"><strong><?php print_string("showunanswered","choice") ?>:</strong></td>
<td>
<?php
$options[0] = get_string("no");
$options[1] = get_string("yes");
choose_from_menu($options, "showunanswered", "$form->showunanswered", "");
$menuoptions[0] = get_string("no");
$menuoptions[1] = get_string("yes");
choose_from_menu($menuoptions, "showunanswered", "$form->showunanswered", "");
?>
<br />
</td>
Expand Down

0 comments on commit 869366e

Please sign in to comment.