From fdc02320967c39aa58399a7eb9b94727a36b4386 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Wed, 05 Dec 2012 11:53:01 -0500 Subject: [PATCH] Fixed: Fixed: FS#2569 - Check for duplicate mailing list names is missing --- interface/web/mail/form/mail_user.tform.php | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/interface/web/mail/form/mail_user.tform.php b/interface/web/mail/form/mail_user.tform.php index 94d35bf..5ec0cbc 100644 --- a/interface/web/mail/form/mail_user.tform.php +++ b/interface/web/mail/form/mail_user.tform.php @@ -136,10 +136,10 @@ 'quota' => array ( 'datatype' => 'VARCHAR', 'formtype' => 'TEXT', - 'validators' => array ( 0 => array ( 'type' => 'ISINT', + 'validators' => array ( 1 => array ( 'type' => 'ISINT', 'errmsg'=> 'quota_error_isint'), - 1 => array ( 'type' => 'REGEX', - 'regex' => '/^([0-9]*)$/', + 0 => array ( 'type' => 'REGEX', + 'regex' => '/^([0-9]{1,})$/', 'errmsg'=> 'quota_error_value'), ), 'default' => '-1', -- Gitblit v1.9.1