git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1790
7612ce4b-ef26-0410-bec9-
ea0150e637f0
/* Page selector block. Following code computes page links. */
$mMore = '';
/* 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 ) );
&& ($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 ) );