Skip to content
Snippets Groups Projects
Commit e8419e0d authored by nicolas lebozec's avatar nicolas lebozec Committed by Hamza HRAMCHI
Browse files

FIX #19031 TIME 0:10 Fixed warning for notification administration

parent c28dba47
No related branches found
No related tags found
No related merge requests found
...@@ -278,8 +278,8 @@ class NotificationsScheduleController ...@@ -278,8 +278,8 @@ class NotificationsScheduleController
} }
$configuration = ConfigurationModel::getByIdentifier(['identifier' => 'customization']); $configuration = ConfigurationModel::getByIdentifier(['identifier' => 'customization']);
$configuration = $configuration[0]; $configuration = $configuration[0] ?? null;
$configuration = json_decode($configuration['value'], true); $configuration = json_decode($configuration['value'] ?? null, true);
if (empty($configuration['schedulerPath']) || !is_file($configuration['schedulerPath'])) { if (empty($configuration['schedulerPath']) || !is_file($configuration['schedulerPath'])) {
return $response->withJson(['schedulerInitialized' => false]); return $response->withJson(['schedulerInitialized' => false]);
......
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