list_zones.php
changeset 143 bef105ffb017
parent 136 c795dd75a77e
child 163 32d4c63c50c9
--- a/list_zones.php	Mon Apr 28 18:18:06 2008 +0000
+++ b/list_zones.php	Mon Apr 28 18:47:19 2008 +0000
@@ -39,7 +39,7 @@
 
 if ($perm_view == "none") { 
 	echo "     <p>" . _('You do not have the permission to see any zones.') . "</p>\n";
-} elseif ($count_zones_view > $iface_rowamount && $count_zones_all_letterstart == "0") {
+} elseif (($count_zones_view > $iface_rowamount && $count_zones_all_letterstart == "0") || $count_zones_view == 0) {
 	echo "     <p>" . _('There are no zones to show in this listing.') . "</p>\n";
 } else {
 	echo "     <div class=\"showmax\">\n";