From 11c6d8e6a37c607ea5ab52bded0ebc126a629cb3 Mon Sep 17 00:00:00 2001 From: Vivek Date: Mon, 6 Feb 2023 20:42:30 +0530 Subject: [PATCH] BUGFIX: Obj echo issue fix - added json_encode --- lib/FroalaEditor/S3.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/FroalaEditor/S3.php b/lib/FroalaEditor/S3.php index d79602e..16f447e 100644 --- a/lib/FroalaEditor/S3.php +++ b/lib/FroalaEditor/S3.php @@ -113,7 +113,7 @@ public static function getHash($config) { // Set params in response. $response->params = $params; - return $response; + return json_encode($response); } }