From d3fae94ff8de3e2455ddbe86af0ac0421dd915d5 Mon Sep 17 00:00:00 2001 From: stekkel Date: Wed, 2 Jun 2004 13:45:16 +0000 Subject: [PATCH] Adapted arguments for sqimap_fetch_small_header_list git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@7586 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- plugins/filters/filters.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/filters/filters.php b/plugins/filters/filters.php index 229f774d..1f82bafa 100644 --- a/plugins/filters/filters.php +++ b/plugins/filters/filters.php @@ -309,10 +309,9 @@ function spam_filters($imap_stream) { } } if ($filters_spam_scan == 'new' && count($search_array)) { - $headers = sqimap_get_small_header_list ($imap_stream, $search_array, $show_num=false, - array('Received'),array()); + $headers = sqimap_get_small_header_list ($imap_stream, $search_array, array('Received'),array()); } else if ($filters_spam_scan != 'new') { - $headers = sqimap_get_small_header_list ($imap_stream,false, '*', array('Received'),array()); + $headers = sqimap_get_small_header_list ($imap_stream, null , array('Received'),array()); } else { return; } -- 2.25.1