Skip to content

Commit

Permalink
Fixed: Wrong SQL query
Browse files Browse the repository at this point in the history
  • Loading branch information
nuxwin committed Aug 17, 2017
1 parent 5572b8c commit b0539ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/public/client/mail_edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ function client_generatePage($tpl)
list($username, $domainName) = explode('@', $mailData['mail_addr']);

$customerMailboxesQuotaSumBytes = exec_query(
'SELECT IFNULL(SUM(quota)n 0) FROM mail_users WHERE mail_id <> ? AND domain_id = ?',
'SELECT IFNULL(SUM(quota), 0) FROM mail_users WHERE mail_id <> ? AND domain_id = ?',
[$mailId, $mainDmnProps['domain_id']]
)->fetchRow(PDO::FETCH_COLUMN);

Expand Down

0 comments on commit b0539ea

Please sign in to comment.