Skip to content

Commit 6dd5d5f

Browse files
committed
Fixed a problem with maildir quota.
1 parent 4bf1186 commit 6dd5d5f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

interface/web/mail/form/mail_user.tform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
'validators' => array ( 0 => array ( 'type' => 'ISINT',
9595
'errmsg'=> 'quota_error_isint'),
9696
1 => array ( 'type' => 'REGEX',
97-
'regex' => '/^(-1)|([1-9][0-9]*)$/',
97+
'regex' => '/^([0-9]*)$/',
9898
'errmsg'=> 'quota_error_value'),
9999
),
100100
'default' => '-1',

interface/web/mail/lib/lang/en_mail_user.lng

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ $wb["welcome_mail_message"] = "Welcome to your new email account. Your webmaster
2828
$wb["disableimap_txt"] = 'Disable IMAP';
2929
$wb["disablepop3_txt"] = 'Disable POP3';
3030
$wb["duplicate_alias_or_forward_txt"] = 'There is already an alias or forwrd with this email address.';
31-
$wb["quota_error_value"] = 'Invalid quota value. Allowed values are: -1 for unlimited or numbers > 1';
31+
$wb["quota_error_value"] = 'Invalid quota value. Allowed values are: 0 for unlimited or numbers > 1';
3232
?>

0 commit comments

Comments
 (0)