sqimap_message_list_squisher() was returning nothing if the data passed to it was...
authortassium <tassium@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 11 Dec 2002 17:52:23 +0000 (17:52 +0000)
committertassium <tassium@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 11 Dec 2002 17:52:23 +0000 (17:52 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4260 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/imap_messages.php

index cd1ee593d66d7c1ac91a59face358fd547063df8..6a8de384a7ddf41c5faa41b62fa42a4913464911 100755 (executable)
@@ -84,7 +84,7 @@ function sqimap_get_small_header ($imap_stream, $id, $sent) {
  */
 function sqimap_message_list_squisher($messages_array) {
     if( !is_array( $messages_array ) ) {
-        return;
+        return $messages_array;
     }
 
     sort($messages_array, SORT_NUMERIC);