Skip to content

Commit

Permalink
SendMail: Fix argument type mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
yhabteab committed Sep 6, 2023
1 parent f38d144 commit 25df688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Reporting/Actions/SendMail.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function execute(Report $report, array $config)
$mail = new Mail();

$mail->setFrom(
Config::module('reporting', 'config', 'true')->get('mail', 'from', 'reporting@icinga')
Config::module('reporting', 'config', true)->get('mail', 'from', 'reporting@icinga')
);

if (isset($config['subject'])) {
Expand Down

0 comments on commit 25df688

Please sign in to comment.