File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ public static function getIcon(): string
7979
8080 public static function useConfig (CommonDBTM $ item ): void
8181 {
82- if ($ item ->fields ['type ' ] == \CommonITILActor::OBSERVER ) {
82+ if ($ item ->fields ['type ' ] == \CommonITILActor::ASSIGN ) {
8383 return ;
8484 }
8585 $ moconfig = new Config ();
@@ -180,7 +180,7 @@ public static function addItemGroups(CommonDBTM $item): void
180180 $ criteria = [
181181 'groups_id ' => $ g ['groups_id ' ],
182182 $ mapping ['foreign_key ' ] => $ item ->fields [$ mapping ['foreign_key ' ]],
183- 'type ' => CommonITILActor::OBSERVER ,
183+ 'type ' => CommonITILActor::ASSIGN ,
184184 ];
185185
186186 if (!$ gitem ->getFromDBByCrit ($ criteria )) {
Original file line number Diff line number Diff line change @@ -639,7 +639,7 @@ public function testTakeItemGroups(): void
639639 $ groups = $ ticket_group ->find (
640640 [
641641 'tickets_id ' => $ ticket ->getID (),
642- 'type ' => \CommonITILActor::OBSERVER ,
642+ 'type ' => \CommonITILActor::ASSIGN ,
643643 ],
644644 );
645645 $ this ->assertCount (1 , $ groups );
You can’t perform that action at this time.
0 commit comments