[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.
--- 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 " </tr>\n";
echo " <tr>\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);