From fe70ae278faa446daf7c71b007066abdaf00358e Mon Sep 17 00:00:00 2001 From: tassium Date: Wed, 11 Dec 2002 17:52:23 +0000 Subject: [PATCH] sqimap_message_list_squisher() was returning nothing if the data passed to it was not an array. It should have just been returning the data as it was passed. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4260 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/imap_messages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/imap_messages.php b/functions/imap_messages.php index cd1ee593..6a8de384 100755 --- a/functions/imap_messages.php +++ b/functions/imap_messages.php @@ -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); -- 2.25.1