list_zones.php
changeset 15 305cee3b388d
parent 13 2ff220cfde13
child 20 76e20b9d45e6
--- a/list_zones.php	Mon Jun 04 19:04:55 2007 +0000
+++ b/list_zones.php	Tue Jun 05 22:40:47 2007 +0000
@@ -4,7 +4,7 @@
 include_once("inc/header.inc.php");
 
 $all_doms = get_domains(0);
-$num_all_domains = count($all_doms);
+$num_all_domains = ($all_doms == -1) ? 0 : count($all_doms);
 $doms = get_domains(0,LETTERSTART);
 show_pages(count($doms),ROWAMOUNT);
 ?>