소스 검색

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;
     global $boxes, $unseen_type, $color;
 
 
     /* Initialize the return value. */
     /* Initialize the return value. */
-    $result = array();
+    $result = array(0,0);
 
 
     /* Initialize the counts for this folder. */
     /* Initialize the counts for this folder. */
     $boxUnseenCount = 0;
     $boxUnseenCount = 0;