Bugfix in the page selector on/off option
authorphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 23 Nov 2001 08:26:40 +0000 (08:26 +0000)
committerphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 23 Nov 2001 08:26:40 +0000 (08:26 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1790 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/mailbox_display.php

index aeb5285..d6f76ab 100644 (file)
 
         /* Page selector block. Following code computes page links. */
         $mMore = '';
-        if (!getPref($data_dir, $username, 'page_selector')
+        if (getPref($data_dir, $username, 'page_selector')
                && ($num_msgs > $show_num)) {
             $j = intval( $num_msgs / $show_num );  // Max pages
             $k = max( 1, $j / getPref($data_dir, $username, 'page_selector_max', PG_SEL_MAX ) );