[feladat @ 81]
Bugfix. If the number of zones exceeded the "max row limit" and a
"starting letter" with no zones was requested in list_zones.php it
would show no zones while incorrectly stating "showing 1 out of N
zones".
--- a/list_zones.php Wed Jun 27 22:36:02 2007 +0000
+++ b/list_zones.php Thu Jun 28 02:20:11 2007 +0000
@@ -34,7 +34,7 @@
$doms = get_domains(0,"all",ROWSTART,ROWAMOUNT);
} else {
$doms = get_domains(0,LETTERSTART,ROWSTART,ROWAMOUNT);
- $num_show_domains = count($doms);
+ $num_show_domains = ($doms == -1) ? 0 : count($doms);
}
// If the user doesnt have any domains print a message saying so