Remove notice
authorindiri69 <indiri69@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 25 Mar 2004 23:20:09 +0000 (23:20 +0000)
committerindiri69 <indiri69@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 25 Mar 2004 23:20:09 +0000 (23:20 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@6900 7612ce4b-ef26-0410-bec9-ea0150e637f0

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