Skip to content

Commit

Permalink
Fixed issue: Subquestions are not stores when saving saving and the s…
Browse files Browse the repository at this point in the history
…ame code exists in different scales
  • Loading branch information
c-schmitz committed Sep 20, 2023
1 parent b0fb8cf commit bf912de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion application/controllers/QuestionAdministrationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2863,7 +2863,8 @@ private function storeSubquestions($question, $subquestionsArray)
$subquestion = Question::model()->findByAttributes([
'sid' => $question->sid,
'parent_qid' => $question->qid,
'title' => $data['oldcode']
'title' => $data['oldcode'],
'scale_id' => $scaleId
]);
}
if (!$subquestion) {
Expand Down

0 comments on commit bf912de

Please sign in to comment.