[feladat @ 204]
Bugfix. Even if one did have the 'add supermasters' right, the menu option wasn't shown. Reported by Maarten te Paske.
--- 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";