From 756d06808aecd206a83d447ec790f71ad2626008 Mon Sep 17 00:00:00 2001 From: stekkel Date: Thu, 22 Aug 2002 11:57:37 +0000 Subject: [PATCH] small changes that maybe solve a paginator bug git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3409 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mailbox_display.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/functions/mailbox_display.php b/functions/mailbox_display.php index 38d459c2..ed6e2c92 100644 --- a/functions/mailbox_display.php +++ b/functions/mailbox_display.php @@ -349,6 +349,7 @@ function showMessagesForMailbox($imapConnection, $mailbox, $num_msgs, if ($auto_expunge == true) { $exp_cnt = sqimap_mailbox_expunge($imapConnection, $mailbox, false, ''); $mbxresponse['EXISTS'] = $mbxresponse['EXISTS'] - $exp_cnt; + $num_msgs = $mbxresponse['EXISTS']; } if ($mbxresponse['EXISTS']>0) { @@ -957,6 +958,11 @@ function get_msgcnt_str($start_msg, $end_msg, $num_msgs) { function get_paginator_link($box, $start_msg, $use, $text) { global $PHP_SELF; + $result = "$text"; + return ($result); +/* if (preg_match('/^(.+)\?.+$/',$PHP_SELF,$regs)) { $source_url = $regs[1]; } else { @@ -967,6 +973,7 @@ function get_paginator_link($box, $start_msg, $use, $text) { . "&startMessage=$start_msg&mailbox=$box\" " . "TARGET=\"right\">$text"; return ($result); +*/ } /* -- 2.25.1