changeset 34 | a2826b0ebcff |
parent 29 | e1c60f72d494 |
child 36 | 4ec5ab29f634 |
--- 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