Skip to content

Commit

Permalink
fix(targetticket,targetchange): duplicate actors run twice
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <[email protected]>
  • Loading branch information
btry committed Apr 14, 2020
1 parent 5944935 commit f80307f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions inc/targetchange.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ public static function import(PluginFormcreatorLinker $linker, $input = [], $con
$formFk = PluginFormcreatorForm::getForeignKeyField();
$input[$formFk] = $containerId;
$input['_skip_checks'] = true;
$input['_skip_create_actors'] = true;

$item = new self();
// Find an existing target to update, only if an UUID is available
Expand Down
1 change: 1 addition & 0 deletions inc/targetticket.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -882,6 +882,7 @@ public static function import(PluginFormcreatorLinker $linker, $input = [], $con
$formFk = PluginFormcreatorForm::getForeignKeyField();
$input[$formFk] = $containerId;
$input['_skip_checks'] = true;
$input['_skip_create_actors'] = true;

$item = new self;
// Find an existing target to update, only if an UUID is available
Expand Down

0 comments on commit f80307f

Please sign in to comment.