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 4a9b73cb14e5c5c5c15de9df4596561e42bc3808..b714513230f8372e7ca1dcc17eebd0d7a3d56bd5 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 93d872ca2f0852b1fcfc9ad23a4ec9c193db15cc..79e2d2ae8741f0b3fc0e8ca830206e716121dc92 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";