Skip to content

Commit

Permalink
fix(abstractitiltarget): email addresses were ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Sep 27, 2022
1 parent 6a65dc7 commit 4c28a09
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions inc/abstractitiltarget.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -2182,9 +2182,6 @@ public function cleanActors(array $data): array {
$cleaned = [];
$cleaned_notif = [];
foreach ($data["$actorType"] as $key => $actor) {
if ($actor == 0) {
continue;
}
$cleaned[] = $actor;
$cleaned_notif['use_notification'][] = $data["{$actorType}_notif"]['use_notification'][$key];
$cleaned_notif['alternative_email'][] = $data["{$actorType}_notif"]['alternative_email'][$key];
Expand Down

0 comments on commit 4c28a09

Please sign in to comment.