From f25f3c4f80a5749ab12797415a588b757fe2c88f Mon Sep 17 00:00:00 2001 From: Banana Date: Mon, 3 Dec 2012 16:18:50 +0100 Subject: [PATCH] testing. warnings erros... --- lib/Insipid/Main.pm | 5 +++++ 1 file changed, 5 insertions(+) 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) { -- 2.39.5