From df2c5bc9da19d9f5c18c94458291434d74c8ff56 Mon Sep 17 00:00:00 2001 From: alex-brainstorm Date: Sat, 1 Nov 2003 17:36:16 +0000 Subject: [PATCH] Remove notice git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@6078 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- plugins/listcommands/setup.php | 2 ++ src/options_highlight.php | 1 + 2 files changed, 3 insertions(+) diff --git a/plugins/listcommands/setup.php b/plugins/listcommands/setup.php index 4a9b73cb..b7145132 100644 --- a/plugins/listcommands/setup.php +++ b/plugins/listcommands/setup.php @@ -68,6 +68,8 @@ function plugin_listcommands_menu() { $output[] = makeComposeLink($url, $fieldsdescr[$cmd]); if ($cmd == 'post') { + if (!isset($mailbox)) + $mailbox = 'INBOX'; $url .= '&passed_id='.$passed_id. '&mailbox='.urlencode($mailbox). (isset($passed_ent_id)?'&passed_ent_id='.$passed_ent_id:''); diff --git a/src/options_highlight.php b/src/options_highlight.php index 93d872ca..79e2d2ae 100644 --- a/src/options_highlight.php +++ b/src/options_highlight.php @@ -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"; -- 2.25.1