summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/admin/user/user.php.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/admin/user/user.php.in b/www/admin/user/user.php.in
index 4cfc24c..73fb6d2 100644
--- a/www/admin/user/user.php.in
+++ b/www/admin/user/user.php.in
@@ -459,7 +459,7 @@ $form =& new KolabForm( 'user', 'createuser.tpl', $entries );
switch( $action ) {
case 'firstsave':
debug("adding checkuniquemail to validation");
- $form->entries['mail']['validation'] = 'checkuniquemail';
+ $form->entries['mail']['validation'] = array( $form->entries['mail']['validation'], 'checkuniquemail');
case 'save':
if( $form->isSubmitted() ) {
if( !$form->validate() ) {