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 1f761fc commit 7ef3496
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 @@ -164,6 +164,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 @@ -978,6 +978,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 7ef3496

Please sign in to comment.