Fix the save message button, using new functionality marc introduced yesterday.
[squirrelmail.git] / plugins / calendar / event_edit.php
index 6211c3cb7cd07cd5e0c7067530235a77f3828049..e96abba913d872b9ebf4d445aac4f3762e2bacdb 100644 (file)
@@ -3,7 +3,7 @@
 /**
  * event_edit.php
  *
- * Copyright (c) 2002 The SquirrelMail Project Team
+ * Copyright (c) 2002-2003 The SquirrelMail Project Team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
  * Originally contrubuted by Michal Szczotka <michal@tuxy.org>
@@ -140,14 +140,14 @@ function show_event_form() {
          html_tag( 'td', _("Length:"), 'right', $color[4] ) . "\n" .
          html_tag( 'td', '', 'left', $color[4] ) .
          "      <SELECT NAME=\"event_length\">\n";
-    select_option_length($tmparray[length]);
+    select_option_length($tmparray['length']);
     echo "      </SELECT>\n".
          "      </td></tr>\n".
          html_tag( 'tr' ) .
          html_tag( 'td', _("Priority:"), 'right', $color[4] ) . "\n" .
          html_tag( 'td', '', 'left', $color[4] ) .
          "      <SELECT NAME=\"event_priority\">\n";
-    select_option_priority($tmparray[priority]);
+    select_option_priority($tmparray['priority']);
     echo "      </SELECT>\n".
          "      </td></tr>\n".
          html_tag( 'tr' ) .