From 1fa67a32fff567626c417c81821e499a9665ce76 Mon Sep 17 00:00:00 2001 From: fidian Date: Sat, 10 Nov 2001 14:23:49 +0000 Subject: [PATCH] Removed warnings that were appearing git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1714 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mailbox_display.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/mailbox_display.php b/functions/mailbox_display.php index ecbb67b5..5a36afb3 100644 --- a/functions/mailbox_display.php +++ b/functions/mailbox_display.php @@ -667,7 +667,7 @@ */ function get_paginator_str ($urlMailbox, $start_msg, $end_msg, $num_msgs, $show_num, $sort) { - global $username, $data_dir, $use_mailbox_cache; + global $username, $data_dir, $use_mailbox_cache, $color; $nextGroup = $start_msg + $show_num; $prevGroup = $start_msg - $show_num; @@ -702,7 +702,7 @@ if ($num_msgs % $show_num <> 0 ) { $j++; } - $start_msgs = min( $start_msgs, $num_msgs ); + $start_msg = min( $start_msg, $num_msgs ); $p = intval( $start_msg / $show_num ) + 1; $i = 1; while( $i < $p ) { -- 2.25.1