浏览代码

Remove notice

indiri69 21 年之前
父节点
当前提交
ce51856af2
共有 1 个文件被更改,包括 1 次插入1 次删除
  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';