initialize result array (unseen/total count)
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 25 Sep 2002 13:58:18 +0000 (13:58 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 25 Sep 2002 13:58:18 +0000 (13:58 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3724 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/left_main.php

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