Skip to content

Commit

Permalink
Mantis 0001691: Failed to submit test email with secondary email addr…
Browse files Browse the repository at this point in the history
…ess.
  • Loading branch information
votdev committed Mar 2, 2017
1 parent 17088e5 commit 4df8a70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions deb/openmediavault/debian/changelog
Expand Up @@ -4,6 +4,7 @@ openmediavault (3.0.65) stable; urgency=low
* Fix bug when executing S.M.A.R.T. tests via WebUI.
* Fix the PHP5 interpreter issue. This will fix problems when PHP7 is
installed in parallel.
* Mantis 0001691: Failed to submit test email with secondary email address.

-- Volker Theile <volker.theile@openmediavault.org> Fri, 24 Feb 2017 13:34:27 +0100

Expand Down
Expand Up @@ -260,7 +260,7 @@ class OMVRpcServiceEmailNotification extends \OMV\Rpc\ServiceAbstract {
$hostname = php_uname('n');
$to = $object->get("primaryemail");
if (FALSE === $object->isEmpty("secondaryemail"))
$to .= sprintf(",%s", $object['secondaryemail']);
$to .= sprintf(",%s", $object->get("secondaryemail"));
$subject = sprintf("Test message from %s", $hostname);
$message = sprintf("This is an automatically generated mail message ".
"from the system notification service running on %s.", $hostname);
Expand Down

0 comments on commit 4df8a70

Please sign in to comment.