]> 91.132.146.200 Git - insipid.git/commitdiff
testing. warnings erros...
authorBanana <banana@starscream.de>
Mon, 3 Dec 2012 15:18:50 +0000 (16:18 +0100)
committerBanana <banana@starscream.de>
Mon, 3 Dec 2012 15:18:50 +0000 (16:18 +0100)
lib/Insipid/Main.pm

index ee18d8a91837130467c0444fd0bd78af8636db67..93df21b2aff198d0bd286b94961238fe915d3e1a 100755 (executable)
@@ -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) {