# HG changeset patch # User rejo # Date 1207294164 0 # Node ID 0206bf615244b1e3fccb38fed195b261c0360252 # Parent 92de73876d6eae6d6f9254d56f37c314de02971a [feladat @ 234] Bugfix. If the number of zones a user has access to was exactly the maximum number of rows to be show according to the configuration, only a small number was actually shown. Parch by Techwolf. This closes ticket:29. diff -r 92de73876d6e -r 0206bf615244 list_zones.php --- a/list_zones.php Fri Apr 04 06:54:05 2008 +0000 +++ b/list_zones.php Fri Apr 04 07:29:24 2008 +0000 @@ -61,7 +61,7 @@ echo " \n"; echo " \n"; - if ($count_zones_view < ROWAMOUNT) { + if ($count_zones_view <= ROWAMOUNT) { $zones = get_zones($perm_view,$_SESSION['userid'],"all",ROWSTART,ROWAMOUNT); } else { $zones = get_zones($perm_view,$_SESSION['userid'],LETTERSTART,ROWSTART,ROWAMOUNT);