summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--www/admin/domainmaintainer/domainmaintainer.php.in1
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 36e4fda..fe601b5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-03-21 Gunnar Wrobel <p@rdus.de>
+
+ * www/admin/domainmaintainer/domainmaintainer.php.in:
+
+ Added check for empty set of selected domains when creating or
+ modifying a domain maintainer.
+
2007-03-16 Gunnar Wrobel <p@rdus.de>
* www/admin/user/user.php.in:
diff --git a/www/admin/domainmaintainer/domainmaintainer.php.in b/www/admin/domainmaintainer/domainmaintainer.php.in
index efd11b3..fa7de46 100644
--- a/www/admin/domainmaintainer/domainmaintainer.php.in
+++ b/www/admin/domainmaintainer/domainmaintainer.php.in
@@ -138,6 +138,7 @@ $entries = array( 'firstname' => array( 'name' => _('First Name'),
if( $auth->group() == 'admin' || $auth->group() == 'maintainer' ) {
$entries['domains'] = array( 'name' => _("Domains"),
'type' => "checklist",
+ 'validation' => 'notempty',
'comment' => _("Check domains this domain maintainer should be able to maintain"),
'options' => $ldap->domains());
}