From e81953ebdd293b3b5aab1cf978a0970ea2b77f14 Mon Sep 17 00:00:00 2001
From: Jean-Laurent DUZANT <jean-laurent.duzant@xelians.fr>
Date: Wed, 8 Mar 2023 13:37:49 +0100
Subject: [PATCH] FIX #24074 TIME 0 fix array

---
 src/core/controllers/AuthenticationController.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/controllers/AuthenticationController.php b/src/core/controllers/AuthenticationController.php
index b176f81167..bf67b18007 100755
--- a/src/core/controllers/AuthenticationController.php
+++ b/src/core/controllers/AuthenticationController.php
@@ -562,7 +562,7 @@ class AuthenticationController
             return $response->withJson(['url' => null]);
         }
 
-        $license = json_decode(file_get_contents('package.json'));
+        $license = json_decode(file_get_contents('package.json'), true);
 
         if (empty($license) || empty($license['license'])) {
             return $response->withJson(['url' => null]);
-- 
GitLab