Browse Source

Bugfix in the page selector on/off option

philippe_mingo 23 years ago
parent
commit
009da0642d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      functions/mailbox_display.php

+ 1 - 1
functions/mailbox_display.php

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