diff options
-rwxr-xr-x | usr/local/www/pkg.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr/local/www/pkg.php b/usr/local/www/pkg.php index 73cbffe..9173965 100755 --- a/usr/local/www/pkg.php +++ b/usr/local/www/pkg.php @@ -472,9 +472,8 @@ if ($pkg['tabs'] <> "") { $startingat = $startdisplayingat - $display_maximum_rows; if($startingat > -1) { $final_footer .= "<a href='pkg.php?xml=" . $_REQUEST['xml'] . "&startdisplayingat={$startingat}&display_maximum_rows={$display_maximum_rows}'>"; - } else { - if($startingat > 1) - $final_footer .= "<a href='pkg.php?xml=" . $_REQUEST['xml'] . "&startdisplayingat=0&display_maximum_rows={$display_maximum_rows}'>"; + } else if ($startdisplayingat > 1) { + $final_footer .= "<a href='pkg.php?xml=" . $_REQUEST['xml'] . "&startdisplayingat=0&display_maximum_rows={$display_maximum_rows}'>"; } $final_footer .= "<font size='2'><< Previous page</font></a>"; if($tmppp + $display_maximum_rows > count($evaledvar)) |