diff options
author | Phil Davis <phil.davis@inf.org> | 2015-05-15 12:57:23 +0545 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2015-05-15 07:42:31 -0300 |
commit | 5402c8fcdedfd9f9f3ca4eba2d3ed520a2d123ad (patch) | |
tree | f0574630b3da222b1180f51409951a02330c922a /usr/local | |
parent | af6649969b769463b4ca3ba02d3927cde9acffa1 (diff) | |
download | pfsense-5402c8fcdedfd9f9f3ca4eba2d3ed520a2d123ad.zip pfsense-5402c8fcdedfd9f9f3ca4eba2d3ed520a2d123ad.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')
-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>"; |