浏览代码

initialize result array (unseen/total count)

stekkel 23 年之前
父节点
当前提交
79b119f9fa
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/left_main.php

+ 1 - 1
src/left_main.php

@@ -185,7 +185,7 @@ function create_unseen_string($boxName, $boxArray, $imapConnection) {
     global $boxes, $unseen_type, $color;
 
     /* Initialize the return value. */
-    $result = array();
+    $result = array(0,0);
 
     /* Initialize the counts for this folder. */
     $boxUnseenCount = 0;