Remove notice
authoralex-brainstorm <alex-brainstorm@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 1 Nov 2003 17:36:16 +0000 (17:36 +0000)
committeralex-brainstorm <alex-brainstorm@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 1 Nov 2003 17:36:16 +0000 (17:36 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@6078 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/listcommands/setup.php
src/options_highlight.php

index 4a9b73c..b714513 100644 (file)
@@ -68,6 +68,8 @@ function plugin_listcommands_menu() {
             $output[] = makeComposeLink($url, $fieldsdescr[$cmd]);
 
             if ($cmd == 'post') {
+                if (!isset($mailbox))
+                    $mailbox = 'INBOX';
                $url .= '&amp;passed_id='.$passed_id.
                        '&amp;mailbox='.urlencode($mailbox).
                        (isset($passed_ent_id)?'&amp;passed_ent_id='.$passed_ent_id:'');
index 93d872c..79e2d2a 100644 (file)
@@ -352,6 +352,7 @@ if ($action == 'edit' || $action == 'add') {
         $current_color = '63aa7f';
     }
 
+    $pre_defined_color = 0;
     for($x = 0; $x < 5; $x++) {
         for($y = 0; $y < 19; $y++) {
             $gridindex = "$y,$x";