Remove notice
[squirrelmail.git] / src / options_highlight.php
index 1c2da7c3cb29c6c503d84b702b49faa8ef205571..fde299f3b644a723ea75eb950c33916eecda05de 100644 (file)
@@ -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';