From 2a66b5aa0ca901795f9a8d86d6bf97b259b40e0f Mon Sep 17 00:00:00 2001 From: ProgramComputer <22284856+ProgramComputer@users.noreply.github.com> Date: Tue, 10 Oct 2023 01:38:54 +0000 Subject: [PATCH] array expected --- inc/ajax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/ajax.php b/inc/ajax.php index 42a1483b0..3be1564d9 100644 --- a/inc/ajax.php +++ b/inc/ajax.php @@ -53,7 +53,7 @@ function get_word_test_ajax($testsql, $nosent, $lgid, $wordregex, $testtype) "word_text" => '', "group" => '' ); - return json_encode($output); + return $output; } $sent = repl_tab_nl($word_record['WoSentence']); if ($nosent) {