Skip to content

Commit aff82cd

Browse files
author
Marius Cramer
committed
Fixed: invalid mail sender on welcome email when creating new client
1 parent d50cada commit aff82cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/client/client_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ function onAfterInsert() {
364364
//* Get sender address
365365
if($app->auth->is_admin()) {
366366
$app->uses('getconf');
367-
$system_config = $app->getconf->get_global_config();
367+
$system_config = $app->getconf->get_global_config('mail');
368368
$from = $system_config['admin_mail'];
369369
} else {
370370
$client_group_id = $app->functions->intval($_SESSION["s"]["user"]["default_group"]);

0 commit comments

Comments
 (0)