[feladat @ 233]
authorrejo
Fri, 04 Apr 2008 06:54:05 +0000
changeset 129 92de73876d6e
parent 128 12f5e0869676
child 130 0206bf615244
[feladat @ 233] Bugfix. Added missing count of number of supermasters. Was removed somewhere between revisions r125 and r181 in r182. Bug found by Techwolf. This closes ticket:35.
list_supermasters.php
--- 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";