Skip to content

Commit cfdc629

Browse files
committed
fix(target_actor): update import / export
Signed-off-by: Thierry Bugier <[email protected]>
1 parent cd2a97b commit cfdc629

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

inc/target_actor.class.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ public static function import(PluginFormcreatorLinker $linker, $input = [], $con
116116
case self::ACTOR_TYPE_QUESTION_GROUP :
117117
case self::ACTOR_TYPE_QUESTION_SUPPLIER :
118118
case self::ACTOR_TYPE_GROUP_FROM_OBJECT :
119+
case self::ACTOR_TYPE_TECH_GROUP_FROM_OBJECT :
119120
$question = $linker->getObject($input['actor_value'], PluginFormcreatorQuestion::class);
120121
if ($question === false) {
121122
$linker->postpone($input[$idKey], $item->getType(), $input, $containerId);
@@ -199,6 +200,7 @@ public function export($remove_uuid = false) {
199200
case self::ACTOR_TYPE_SUPPLIER:
200201
case self::ACTOR_TYPE_QUESTION_ACTORS:
201202
case self::ACTOR_TYPE_GROUP_FROM_OBJECT:
203+
case self::ACTOR_TYPE_TECH_GROUP_FROM_OBJECT :
202204
$question = new PluginFormcreatorQuestion;
203205
if ($question->getFromDB($target_actor['actor_value'])) {
204206
$target_actor['actor_value'] = $question->fields['uuid'];

0 commit comments

Comments
 (0)