[feladat @ 204]
authorrejo
Thu, 27 Mar 2008 20:46:22 +0000
changeset 104 7fef233c99df
parent 103 17908bb62723
child 105 df46fd74c2ee
[feladat @ 204] Bugfix. Even if one did have the 'add supermasters' right, the menu option wasn't shown. Reported by Maarten te Paske.
inc/header.inc.php
--- a/inc/header.inc.php	Thu Mar 27 20:42:50 2008 +0000
+++ b/inc/header.inc.php	Thu Mar 27 20:46:22 2008 +0000
@@ -62,7 +62,7 @@
 	if ( $perm_zone_slave_add ) { 
 		echo "    <span class=\"menuitem\"><a href=\"add_zone_slave.php\">" . _('Add slave zone') . "</a></span>\n"; 
 	}
-	if ( $supermaster_add ) { 
+	if ( $perm_supermaster_add ) { 
 		echo "    <span class=\"menuitem\"><a href=\"add_supermaster.php\">" . _('Add supermaster') . "</a></span>\n"; 
 	}
 	echo "    <span class=\"menuitem\"><a href=\"change_password.php\">" . _('Change password') . "</a></span>\n";