Skip to content
Snippets Groups Projects
Commit e81953eb authored by Jean-Laurent DUZANT's avatar Jean-Laurent DUZANT
Browse files

FIX #24074 TIME 0 fix array

parent f9291768
No related branches found
No related tags found
No related merge requests found
...@@ -562,7 +562,7 @@ class AuthenticationController ...@@ -562,7 +562,7 @@ class AuthenticationController
return $response->withJson(['url' => null]); 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'])) { if (empty($license) || empty($license['license'])) {
return $response->withJson(['url' => null]); return $response->withJson(['url' => null]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment