Skip to content

Commit 3a8d3ea

Browse files
committed
fix(target_actor): import requires specific input format
1 parent f231660 commit 3a8d3ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

inc/target_actor.class.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ public static function import(PluginFormcreatorLinker $linker, $input = [], $con
207207
$item->update($input);
208208
} else {
209209
unset($input['id']);
210+
$input['actor_value_' . $input['actor_type']] = $input['actor_value'];
210211
$itemId = $item->add($input);
211212
}
212213
if ($itemId === false) {

0 commit comments

Comments
 (0)