Skip to content

Commit

Permalink
fix(targetchange,targetproblem): folow method call signature for fiel…
Browse files Browse the repository at this point in the history
…ds plugin
  • Loading branch information
btry committed Jun 21, 2023
1 parent 0a857d7 commit 016696a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inc/targetchange.class.php
Expand Up @@ -702,7 +702,7 @@ public function save(PluginFormcreatorFormAnswer $formanswer): ?CommonDBTM {

$data = $this->prepareUploadedFiles($data, $formanswer);

$this->appendFieldsData($formanswer, $data);
$data = $this->appendFieldsData($data, $formanswer);

// Cleanup actors array
$data = $this->cleanActors($data);
Expand Down
2 changes: 1 addition & 1 deletion inc/targetproblem.class.php
Expand Up @@ -222,7 +222,7 @@ public function save(PluginFormcreatorFormAnswer $formanswer): ?CommonDBTM {

$data = $this->prepareUploadedFiles($data, $formanswer);

$this->appendFieldsData($formanswer, $data);
$data = $this->appendFieldsData($data, $formanswer);

// Cleanup actors array
$data = $this->cleanActors($data);
Expand Down

0 comments on commit 016696a

Please sign in to comment.