소스 검색

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';
         $selected_choose = ' checked';
     else if ($pre_defined_color)
     else if ($pre_defined_color)
         $selected_predefined = ' checked';
         $selected_predefined = ' checked';