From d962202d3d4985b5a588b742cf49bdb846e6022c Mon Sep 17 00:00:00 2001 From: Maximilian Becker Date: Mon, 25 Jul 2022 15:13:09 +0200 Subject: [PATCH] =?UTF-8?q?33506:=20Pre8:=20Random=20test=20-=20cannot=20a?= =?UTF-8?q?ssign=20QPL=20""ilHiddenInputGUI::setValue():=20Argument=20#1?= =?UTF-8?q?=20($a=5Fvalue)=20must=20be=20of=20type=20string=E2=80=A6"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../classes/class.ilTestRandomQuestionSetStagingPoolBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Test/classes/class.ilTestRandomQuestionSetStagingPoolBuilder.php b/Modules/Test/classes/class.ilTestRandomQuestionSetStagingPoolBuilder.php index 0b86bcbc677c..e846facc78e3 100644 --- a/Modules/Test/classes/class.ilTestRandomQuestionSetStagingPoolBuilder.php +++ b/Modules/Test/classes/class.ilTestRandomQuestionSetStagingPoolBuilder.php @@ -215,7 +215,7 @@ private function stageQuestionsFromSourcePoolCheap($sourcePoolId, $questionIdMap } if (!isset($questionIdMappingPerPool[$sourcePoolId][ $row['question_id'] ])) { $question = assQuestion::_instantiateQuestion($row['question_id']); - $duplicateId = $question->duplicate(true, null, null, null, $this->testOBJ->getId()); + $duplicateId = $question->duplicate(true, '', '', '', $this->testOBJ->getId()); $nextId = $this->db->nextId('tst_rnd_cpy'); $this->db->insert('tst_rnd_cpy', array(