Skip to content

Commit a775b02

Browse files
author
Till Brehm
committed
Merge branch 'master' into 'stable-3.1'
client email domains (Fixes: #3887) See merge request !344
2 parents 0c381c4 + c878bd4 commit a775b02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/mail/mail_domain_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ function onSubmit() {
241241
if($_SESSION["s"]["user"]["typ"] != 'admin') {
242242
// Get the limits of the client
243243
$client_group_id = $app->functions->intval($_SESSION["s"]["user"]["default_group"]);
244-
$client = $app->db->queryOneRecord("SELECT limit_maildomain, default_mailserver FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = ?", $client_group_id);
244+
$client = $app->db->queryOneRecord("SELECT client.mail_servers, limit_maildomain, default_mailserver FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = ?", $client_group_id);
245245
// When the record is updated
246246
if($this->id > 0) {
247247
// restore the server ID if the user is not admin and record is edited

0 commit comments

Comments
 (0)