Browse Source

Remove notice

indiri69 21 years ago
parent
commit
ce51856af2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/options_highlight.php

+ 1 - 1
src/options_highlight.php

@@ -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';