From 5402c8fcdedfd9f9f3ca4eba2d3ed520a2d123ad Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Fri, 15 May 2015 12:57:23 +0545 Subject: [PATCH] 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! --- usr/local/www/pkg.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/www/pkg.php b/usr/local/www/pkg.php index aabd607bb3..73cbffeb02 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 .= ""; } else { - if($startingnat > 1) + if($startingat > 1) $final_footer .= ""; } $final_footer .= "<< Previous page";