From: Banana Date: Mon, 3 Dec 2012 15:18:50 +0000 (+0100) Subject: testing. warnings erros... X-Git-Tag: 2.1-alpha-2019-0-29~65 X-Git-Url: http://91.132.146.200/gitweb/?a=commitdiff_plain;h=f25f3c4f80a5749ab12797415a588b757fe2c88f;p=insipid.git testing. warnings erros... --- diff --git a/lib/Insipid/Main.pm b/lib/Insipid/Main.pm index ee18d8a..93df21b 100755 --- a/lib/Insipid/Main.pm +++ b/lib/Insipid/Main.pm @@ -658,6 +658,11 @@ sub show_pageLinks { $older = $currentPage + 1; $newer = $currentPage - 1; } + else { + $currentPage = 1; + $older = $currentPage + 1; + $newer = $currentPage - 1; + } $returnstr = " | "; if($older >= 2 && $currentPage > 1) {