Skip to content

Commit 546d28c

Browse files
committed
fix mail recipient
1 parent 9512ec1 commit 546d28c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/lib/UnityUser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public function setModifier(
122122
]);
123123
}
124124
if ($doSendMailAdmin) {
125-
$this->MAILER->sendMail($this->getMail(), "user_modifier_added_admin", [
125+
$this->MAILER->sendMail("admin", "user_modifier_added_admin", [
126126
"user" => $this->uid,
127127
"org" => $this->getOrg(),
128128
"modifier" => $modifier,
@@ -138,7 +138,7 @@ public function setModifier(
138138
]);
139139
}
140140
if ($doSendMailAdmin) {
141-
$this->MAILER->sendMail($this->getMail(), "user_modifier_removed_admin", [
141+
$this->MAILER->sendMail("admin", "user_modifier_removed_admin", [
142142
"user" => $this->uid,
143143
"org" => $this->getOrg(),
144144
"modifier" => $modifier,

0 commit comments

Comments
 (0)