finish "buttonizing" read_body header.
[squirrelmail.git] / src / options_highlight.php
index 37d9b28e112650bff23c3065c6ef463879126bdd..fde299f3b644a723ea75eb950c33916eecda05de 100644 (file)
@@ -3,7 +3,7 @@
 /**
  * options_highlight.php
  *
- * Copyright (c) 1999-2003 The SquirrelMail Project Team
+ * Copyright (c) 1999-2004 The SquirrelMail Project Team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
  * Displays message highlighting options
@@ -364,7 +364,7 @@ if ($action == 'edit' || $action == 'add') {
         }
     }
 
-    if (!isset($message_highlight_list[$theid]['color']))
+    if (isset($theid) && !isset($message_highlight_list[$theid]['color']))
         $selected_choose = ' checked';
     else if ($pre_defined_color)
         $selected_predefined = ' checked';
@@ -469,5 +469,4 @@ if ($action == 'edit' || $action == 'add') {
 }
 do_hook('options_highlight_bottom');
 ?>
-</table>
-<?php noframes_bottom(); ?>
+</table></body></html>