From 6d5aa99cea3ca5f8eca57b1512e687175a6e3a28 Mon Sep 17 00:00:00 2001 From: lebozec <nicolas.lebozec@xelians.fr> Date: Tue, 14 Feb 2023 17:52:28 +0100 Subject: [PATCH] FIX #19031 TIME 0:20 correction of the display of the personalization when there is no configuration --- src/app/configuration/controllers/ConfigurationController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/configuration/controllers/ConfigurationController.php b/src/app/configuration/controllers/ConfigurationController.php index c29a17133f..1d3b74cb1f 100755 --- a/src/app/configuration/controllers/ConfigurationController.php +++ b/src/app/configuration/controllers/ConfigurationController.php @@ -483,7 +483,7 @@ class ConfigurationController $configuration = ConfigurationModel::getByIdentifier(['identifier' => 'customization']); if (empty($configuration[0])) { - return $response->withStatus(400)->withJson(['configuration' => []]); + return $response->withStatus(200)->withJson(['configuration' => []]); } $configuration = json_decode($configuration[0]['value'], true); -- GitLab