From 8378f2cf7bde1116fd9618781fc14b991f5e2290 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Thu, 21 Jul 2011 16:08:28 +0200 Subject: [PATCH] Paginating: Visibility auch berechnen... --- SL/DB/Helper/Paginated.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/DB/Helper/Paginated.pm b/SL/DB/Helper/Paginated.pm index df5a6e3d9..e170ad383 100644 --- a/SL/DB/Helper/Paginated.pm +++ b/SL/DB/Helper/Paginated.pm @@ -51,7 +51,7 @@ sub make_common_pages { map { active => $_ != $cur, page => $_, - visible => + visible => calc_visibility($cur, $max, $_), }, 1 .. $max ]; } -- 2.20.1