Skip to content
Snippets Groups Projects
Commit 6dd5d5f8 authored by tbrehm's avatar tbrehm
Browse files

Fixed a problem with maildir quota.

parent 4bf11863
No related branches found
No related tags found
2 merge requests!46Master,!21Master
...@@ -94,7 +94,7 @@ $form["tabs"]['mailuser'] = array ( ...@@ -94,7 +94,7 @@ $form["tabs"]['mailuser'] = array (
'validators' => array ( 0 => array ( 'type' => 'ISINT', 'validators' => array ( 0 => array ( 'type' => 'ISINT',
'errmsg'=> 'quota_error_isint'), 'errmsg'=> 'quota_error_isint'),
1 => array ( 'type' => 'REGEX', 1 => array ( 'type' => 'REGEX',
'regex' => '/^(-1)|([1-9][0-9]*)$/', 'regex' => '/^([0-9]*)$/',
'errmsg'=> 'quota_error_value'), 'errmsg'=> 'quota_error_value'),
), ),
'default' => '-1', 'default' => '-1',
......
...@@ -28,5 +28,5 @@ $wb["welcome_mail_message"] = "Welcome to your new email account. Your webmaster ...@@ -28,5 +28,5 @@ $wb["welcome_mail_message"] = "Welcome to your new email account. Your webmaster
$wb["disableimap_txt"] = 'Disable IMAP'; $wb["disableimap_txt"] = 'Disable IMAP';
$wb["disablepop3_txt"] = 'Disable POP3'; $wb["disablepop3_txt"] = 'Disable POP3';
$wb["duplicate_alias_or_forward_txt"] = 'There is already an alias or forwrd with this email address.'; $wb["duplicate_alias_or_forward_txt"] = 'There is already an alias or forwrd with this email address.';
$wb["quota_error_value"] = 'Invalid quota value. Allowed values are: -1 for unlimited or numbers > 1'; $wb["quota_error_value"] = 'Invalid quota value. Allowed values are: 0 for unlimited or numbers > 1';
?> ?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment