projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a4edc8
)
Don't check quota if no field
author
Jamie Cameron
<jcameron@webmin.com>
Wed, 16 Apr 2008 17:26:23 +0000
(17:26 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Wed, 16 Apr 2008 17:26:23 +0000
(17:26 +0000)
ldap-useradmin/save_user.cgi
patch
|
blob
|
history
diff --git
a/ldap-useradmin/save_user.cgi
b/ldap-useradmin/save_user.cgi
index
d0337b5
..
62a0052
100755
(executable)
--- a/
ldap-useradmin/save_user.cgi
+++ b/
ldap-useradmin/save_user.cgi
@@
-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'};
}