list_supermasters.php
changeset 129 92de73876d6e
parent 126 cb06e3e29ed8
--- a/list_supermasters.php	Thu Apr 03 22:36:17 2008 +0000
+++ b/list_supermasters.php	Fri Apr 04 06:54:05 2008 +0000
@@ -26,6 +26,7 @@
 (verify_permission('supermaster_edit')) ? $perm_sm_edit = "1" :  $perm_sm_edit = "0" ;
 
 $supermasters = get_supermasters();
+$num_supermasters = ($supermasters == -1) ? 0 : count($supermasters);
 
 echo "     <h2>" . _('List supermasters') . "</h2>\n";  
 echo "     <table>\n";