Permalink
Browse files

options[] is full of other values!

  • Loading branch information...
danmarsden
danmarsden committed Apr 1, 2005
1 parent bd3ba1d commit 869366ec5cd3d0631e6b3a119904f944e998e416
Showing with 6 additions and 6 deletions.
  1. +6 −6 mod/choice/mod.html
View
@@ -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>
@@ -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>

0 comments on commit 869366e

Please sign in to comment.