diff options
author | Phil Davis <phil.davis@inf.org> | 2015-05-15 12:57:23 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2015-05-15 12:57:23 +0545 |
commit | a5d6bf8019b138e5ec671a707c5ca1f0b60d0b96 (patch) | |
tree | b98453f590b754d1ec0c657eada65e91c7359880 /usr/local/www/pkg.php | |
parent | c8f1c7bd70cd156f23a59400e5c738ef8bf5281b (diff) | |
download | pfsense-a5d6bf8019b138e5ec671a707c5ca1f0b60d0b96.zip pfsense-a5d6bf8019b138e5ec671a707c5ca1f0b60d0b96.tar.gz |
Fix startingat var name typo in pkp.php
Even with this fix, the code does not make sense. The first test is:
if ($startingat > -1)
if it gets into the else, then $startingat must be negative. But the test in the "else" tests for >1 ???
Someone who knows what it really is supposed to do could fix it!
Diffstat (limited to 'usr/local/www/pkg.php')
-rwxr-xr-x | usr/local/www/pkg.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/pkg.php b/usr/local/www/pkg.php index aabd607..73cbffe 100755 --- a/usr/local/www/pkg.php +++ b/usr/local/www/pkg.php @@ -473,7 +473,7 @@ if ($pkg['tabs'] <> "") { if($startingat > -1) { $final_footer .= "<a href='pkg.php?xml=" . $_REQUEST['xml'] . "&startdisplayingat={$startingat}&display_maximum_rows={$display_maximum_rows}'>"; } else { - if($startingnat > 1) + if($startingat > 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>"; |