From 3da12e6749f90aa73d3376334f3b22010ee941fa Mon Sep 17 00:00:00 2001 From: ebullient Date: Mon, 1 Mar 2004 01:46:41 +0000 Subject: [PATCH] make sure mailbox is used by get_selectall_link correctly, account for possible nul mboxresponse git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@6720 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mailbox_display.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/functions/mailbox_display.php b/functions/mailbox_display.php index 00b4679a..b2d1fd98 100644 --- a/functions/mailbox_display.php +++ b/functions/mailbox_display.php @@ -804,6 +804,7 @@ function mail_message_listing_beginning ($imapConnection, */ $safe_name = preg_replace("/[^0-9A-Za-z_]/", '_', $mailbox); $form_name = "FormMsgs" . $safe_name; + echo '
' ."\n" . $moveFields; ?> @@ -826,8 +827,8 @@ function mail_message_listing_beginning ($imapConnection, '; } -function get_selectall_link($start_msg, $sort) { - global $checkall, $what, $where, $mailbox, $javascript_on; +function get_selectall_link($start_msg, $sort, $mailbox) { + global $checkall, $what, $where, $javascript_on; global $PHP_SELF, $PG_SHOWNUM; $result = ''; -- 2.25.1