summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@pardus.de>2007-03-21 17:39:42 (GMT)
committerGunnar Wrobel <wrobel@pardus.de>2007-03-21 17:39:42 (GMT)
commit41f4888a612dc3e76f2aa4975aee683f17058fd8 (patch)
treeeb54564c630b7192019a5e83d91d50112dc58275
parent73cfd70c6291d1e137fa53b8f7e576e3d1ca9c3c (diff)
downloadkolab-webadmin-41f4888a612dc3e76f2aa4975aee683f17058fd8.tar.gz
* www/admin/domainmaintainer/domainmaintainer.php.in:
Added check for empty set of selected domains when creating or modifying a domain maintainer.
-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());
}