[feladat @ 234]
authorrejo
Fri, 04 Apr 2008 07:29:24 +0000
changeset 130 0206bf615244
parent 129 92de73876d6e
child 131 e9ed9a06f62c
[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.
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 "      </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);