Skip to content

Commit

Permalink
fix(abstractitiltarget): failed to assign group frop object
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed May 27, 2022
1 parent 6826ea8 commit aa92a2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/abstractitiltarget.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ protected function prepareActors(PluginFormcreatorForm $form, PluginFormcreatorF
if ($question->isNewItem()) {
continue 2;
}
$itemtype = $question->fields['values'];
$itemtype = $question->fields['itemtype'];
if (!is_subclass_of($itemtype, CommonDBTM::class)) {
continue 2;
}
Expand Down

0 comments on commit aa92a2f

Please sign in to comment.