Skip to content

Commit

Permalink
fix(form_profile): undeclared vars
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed Aug 22, 2019
1 parent 80f742e commit a6c07f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/form_profile.class.php
Expand Up @@ -121,7 +121,7 @@ static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtem
]
],
'WHERE' => [
"$formProfile.$formFk" => $item->getID(),
"$formProfileTable.$formFk" => $item->getID(),
],
]);
foreach ($result as $row) {
Expand Down Expand Up @@ -190,7 +190,7 @@ public static function import(PluginFormcreatorLinker $linker, $input = [], $con
if (isset($input['uuid'])) {
$originalId = $input['uuid'];
}
$linker->addObject($originalId, $form_obj);
$linker->addObject($originalId, $item);

return $formProfileId;
}
Expand Down

0 comments on commit a6c07f3

Please sign in to comment.