From 5ab2460618fc62c77893a985e2972d70045385f1 Mon Sep 17 00:00:00 2001 From: Thierry Bugier Date: Tue, 23 Apr 2019 14:48:16 +0200 Subject: [PATCH] fix(targetticket,targetchange): fix array index Signed-off-by: Thierry Bugier --- inc/targetbase.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/targetbase.class.php b/inc/targetbase.class.php index d31ae6b44..011d6aa6c 100644 --- a/inc/targetbase.class.php +++ b/inc/targetbase.class.php @@ -1366,7 +1366,7 @@ protected function showActorsSettings() { Html::closeForm(); // => List of saved observers - foreach ($actors['observer'] as $id => $values) { + foreach ($actors[PluginFormcreatorTarget_Actor::ACTOR_ROLE_OBSERVER] as $id => $values) { echo '
'; switch ($values['actor_type']) { case PluginFormcreatorTarget_Actor::ACTOR_TYPE_CREATOR :