indiri69 21 éve
szülő
commit
ce51856af2
1 módosított fájl, 1 hozzáadás és 1 törlés
  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';