From b58b6c6488f1b86506cc617ebcfafd512ddbb97a Mon Sep 17 00:00:00 2001 From: Stepan Date: Thu, 1 Jan 2026 15:58:09 +0100 Subject: [PATCH] Fixed update question --- app/Http/Controllers/QuestionController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/QuestionController.php b/app/Http/Controllers/QuestionController.php index cb945f4..f704d58 100644 --- a/app/Http/Controllers/QuestionController.php +++ b/app/Http/Controllers/QuestionController.php @@ -230,7 +230,7 @@ class QuestionController extends Controller { $this->authorize('update', $question); $fields = $request->validate(self::get_field_rules()); - $fields['variants'] = json_encode($fields['variants']); + //$fields['variants'] = json_encode($fields['variants']); $question->update($fields);