From: Banana Date: Mon, 3 Dec 2012 15:17:19 +0000 (+0100) Subject: testing. warnings erros... X-Git-Tag: 2.1-alpha-2019-0-29~66 X-Git-Url: http://91.132.146.200/gitweb/?a=commitdiff_plain;h=96869737442fc2b69440ceb2e4cd73fab4a0c560;p=insipid.git testing. warnings erros... --- diff --git a/lib/Insipid/Main.pm b/lib/Insipid/Main.pm index b8dbfa7..ee18d8a 100755 --- a/lib/Insipid/Main.pm +++ b/lib/Insipid/Main.pm @@ -654,7 +654,7 @@ sub show_pageLinks { my $currentPage; if (defined(url_param('page'))) { - $currentPage = url_param('page'); + $currentPage = url_param('page')||''; $older = $currentPage + 1; $newer = $currentPage - 1; }