# HG changeset patch # User peter # Date 1216920093 0 # Node ID 963d62dc1c8091d1b51db7223ff82d1fb20dfdd3 # Parent 7a683326ccec2b929bf2b57c73b50b6cc9eae848 [feladat @ 300] Bugfix: When no zones are available in current listing, it isn't possible to switch to an other listing. Fixed this by displaying the character selection in this case. Closes: #81. Bug reported by Tom Hutchison. diff -r 7a683326ccec -r 963d62dc1c80 list_zones.php --- a/list_zones.php Mon Jul 14 22:44:32 2008 +0000 +++ b/list_zones.php Thu Jul 24 17:21:33 2008 +0000 @@ -40,6 +40,11 @@ if ($perm_view == "none") { echo "
" . _('You do not have the permission to see any zones.') . "
\n"; } elseif (($count_zones_view > $iface_rowamount && $count_zones_all_letterstart == "0") || $count_zones_view == 0) { + if ($count_zones_view > $iface_rowamount) { + echo "" . _('There are no zones to show in this listing.') . "
\n"; } else { echo "