Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
lolo888
ISPConfig 3
Commits
fb1863cd
Commit
fb1863cd
authored
Oct 25, 2009
by
tbrehm
Browse files
FS#942 - Problem with email quota check.
parent
bd25d285
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/web/mail/mail_user_edit.php
View file @
fb1863cd
...
...
@@ -142,7 +142,7 @@ class page_action extends tform_actions {
}
// Check the quota and adjust
if
(
$client
[
"limit_mailquota"
]
>=
0
)
{
if
(
isset
(
$_POST
[
"quota"
])
&&
$client
[
"limit_mailquota"
]
>=
0
)
{
$tmp
=
$app
->
db
->
queryOneRecord
(
"SELECT sum(quota) as mailquota FROM mail_user WHERE mailuser_id != "
.
intval
(
$this
->
id
)
.
" AND sys_groupid =
$client_group_id
"
);
$mailquota
=
$tmp
[
"mailquota"
]
/
1024
/
1024
;
$new_mailbox_quota
=
intval
(
$this
->
dataRecord
[
"quota"
]);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment