mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Don't check quota if no field
This commit is contained in:
@@ -209,7 +209,8 @@ else {
|
||||
|
||||
# Validate IMAP quota
|
||||
$quota = undef;
|
||||
if ($config{'quota_support'} && !$in{'quota_def'}) {
|
||||
if ($config{'quota_support'} && !$in{'quota_def'} &&
|
||||
defined($in{'quota'})) {
|
||||
$in{'quota'} =~ /^\d+$/ || &error($text{'usave_equota'});
|
||||
$quota = $in{'quota'};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user