Skip to content

Commit

Permalink
Added a fix for the bug where the number of rows per page was 1 rathe…
Browse files Browse the repository at this point in the history
…r than default limit (when it was not supplied in the filter).

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2774 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
vboctor committed Jul 30, 2004
1 parent 10e0d3a commit ca78b92
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions view_all_set.php
Expand Up @@ -6,7 +6,7 @@
# See the README and LICENSE files for details

# --------------------------------------------------------
# $Id: view_all_set.php,v 1.35 2004-07-09 00:02:01 narcissus Exp $
# $Id: view_all_set.php,v 1.36 2004-07-30 13:05:27 vboctor Exp $
# --------------------------------------------------------
?>
<?php require_once( 'core.php' ) ?>
Expand Down Expand Up @@ -157,7 +157,7 @@
$t_hide_status_default = config_get( 'hide_status_default' );

# show bugs per page
if ( $f_per_page < 0 ) {
if ( $f_per_page < 1 ) {
$f_per_page = config_get( 'default_limit_view' );
}

Expand Down Expand Up @@ -343,4 +343,4 @@
} else {
print_header_redirect( $t_redirect_url );
}
?>
?>

0 comments on commit ca78b92

Please sign in to comment.