Skip to content

Commit

Permalink
fix(target): bad constants
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed Oct 11, 2019
1 parent b7a78b4 commit 78c12a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions inc/targetbase.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -592,13 +592,13 @@ protected function addActor($role, $user, $notify) {
protected function addGroupActor($role, $group) {
$actorType = null;
switch ($role) {
case self::ACTOR_ROLE_REQUESTER:
case PluginFormcreatorTarget_Actor::ACTOR_ROLE_REQUESTER:
$actorType = &$this->requesterGroups['_groups_id_requester'];
break;
case self::ACTOR_ROLE_OBSERVER :
case PluginFormcreatorTarget_Actor::ACTOR_ROLE_OBSERVER :
$actorType = &$this->observerGroups['_groups_id_observer'];
break;
case self::ACTOR_ROLE_ASSIGNED :
case PluginFormcreatorTarget_Actor::ACTOR_ROLE_ASSIGNED :
$actorType = &$this->assignedGroups['_groups_id_assign'];
break;
default:
Expand Down

0 comments on commit 78c12a8

Please sign in to comment.