Skip to content

Commit

Permalink
fix(item_targetticket): export of question based composition
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Mar 28, 2023
1 parent c5223f0 commit dc8c931
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions inc/item_targetticket.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,11 @@ protected function convertIds(&$parameter) {
$targetTicket->getFromDB($parameter['items_id']);
$parameter['items_id'] = $targetTicket->fields['uuid'];
}
if ($parameter['itemtype'] == PluginFormcreatorQuestion::getType()) {
$question = new PluginFormcreatorQuestion();
$question->getFromDB($parameter['items_id']);
$parameter['items_id'] = $question->fields['uuid'];
}
}

protected function convertUuids(&$parameter) {
Expand Down

0 comments on commit dc8c931

Please sign in to comment.