From f4725024eb4bcf990915586e1d6d9ab0493271d7 Mon Sep 17 00:00:00 2001 From: Pol Torrent i Soler Date: Thu, 5 Oct 2023 12:41:56 +0200 Subject: [PATCH] fix: use status variable instead of hidden --- questiontype.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/questiontype.php b/questiontype.php index 607e2df9..b137425e 100644 --- a/questiontype.php +++ b/questiontype.php @@ -118,7 +118,7 @@ protected function initialise_question_instance(question_definition $question, $ $question->penalty = &$question->base->penalty; $question->stamp = &$question->base->stamp; $question->version = &$question->base->version; - $question->hidden = &$question->base->hidden; + $question->status = &$question->base->status; $question->timecreated = &$question->base->timecreated; $question->timemodified = &$question->base->timemodified; $question->createdby = &$question->base->createdby;