Skip to content

Commit

Permalink
fix(target_actor): import requires specific input format
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Jul 18, 2022
1 parent f231660 commit 3a8d3ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inc/target_actor.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ public static function import(PluginFormcreatorLinker $linker, $input = [], $con
$item->update($input);
} else {
unset($input['id']);
$input['actor_value_' . $input['actor_type']] = $input['actor_value'];
$itemId = $item->add($input);
}
if ($itemId === false) {
Expand Down

0 comments on commit 3a8d3ea

Please sign in to comment.