Skip to content

Commit 5ab2460

Browse files
committed
fix(targetticket,targetchange): fix array index
Signed-off-by: Thierry Bugier <[email protected]>
1 parent 5bf758f commit 5ab2460

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/targetbase.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1366,7 +1366,7 @@ protected function showActorsSettings() {
13661366
Html::closeForm();
13671367

13681368
// => List of saved observers
1369-
foreach ($actors['observer'] as $id => $values) {
1369+
foreach ($actors[PluginFormcreatorTarget_Actor::ACTOR_ROLE_OBSERVER] as $id => $values) {
13701370
echo '<div>';
13711371
switch ($values['actor_type']) {
13721372
case PluginFormcreatorTarget_Actor::ACTOR_TYPE_CREATOR :

0 commit comments

Comments
 (0)