diff --git a/Question.php b/Question.php index 99e11a2..01788e1 100644 --- a/Question.php +++ b/Question.php @@ -50,7 +50,7 @@ class Question 'categoryID' => $this->category_id, 'categoryName' => $this->category, 'question' => $this->question, - 'answers' => [$this->answers['a0'], $this->answers['a1'], $this->answers['a2'], $this->answers['a3']] + 'answers' => $this->answers ); return $question_object; }