From 4c28a09b8d8ae191e049fb31585e367d2d0ed0fe Mon Sep 17 00:00:00 2001 From: Thierry Bugier Date: Fri, 23 Sep 2022 15:35:04 +0200 Subject: [PATCH] fix(abstractitiltarget): email addresses were ignored --- inc/abstractitiltarget.class.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/inc/abstractitiltarget.class.php b/inc/abstractitiltarget.class.php index 0fe95ab68..81eb21609 100644 --- a/inc/abstractitiltarget.class.php +++ b/inc/abstractitiltarget.class.php @@ -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];