mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
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!
This commit is contained in:
parent
af6649969b
commit
5402c8fcde
@ -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>";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user