Bladeren bron

initialize result array (unseen/total count)

stekkel 23 jaren geleden
bovenliggende
commit
79b119f9fa
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  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;