Commit aff82cd5 authored by Marius Cramer's avatar Marius Cramer
Browse files

Fixed: invalid mail sender on welcome email when creating new client

parent d50cada5
......@@ -364,7 +364,7 @@ class page_action extends tform_actions {
//* Get sender address
if($app->auth->is_admin()) {
$app->uses('getconf');
$system_config = $app->getconf->get_global_config();
$system_config = $app->getconf->get_global_config('mail');
$from = $system_config['admin_mail'];
} else {
$client_group_id = $app->functions->intval($_SESSION["s"]["user"]["default_group"]);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment