diff -r 370e0d7fa3e7 -r a2826b0ebcff list_zones.php --- 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