Removed warnings that were appearing
authorfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 10 Nov 2001 14:23:49 +0000 (14:23 +0000)
committerfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 10 Nov 2001 14:23:49 +0000 (14:23 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1714 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/mailbox_display.php

index ecbb67b..5a36afb 100644 (file)
      */
     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;
             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 ) {