浏览代码

Remove notice

alex-brainstorm 22 年之前
父节点
当前提交
2eaafa0c7e
共有 2 个文件被更改,包括 3 次插入0 次删除
  1. 2 0
      plugins/listcommands/setup.php
  2. 1 0
      src/options_highlight.php

+ 2 - 0
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:'');

+ 1 - 0
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";