From 5297f2fa112fbfe536454bba175230e60a5de14c Mon Sep 17 00:00:00 2001 From: "Julien C." Date: Thu, 13 Feb 2025 14:35:30 +0100 Subject: [PATCH] Update reloadCache.php --- install/update/reloadCache.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/update/reloadCache.php b/install/update/reloadCache.php index 52d6a2ee18..b23e4b0a24 100644 --- a/install/update/reloadCache.php +++ b/install/update/reloadCache.php @@ -34,7 +34,7 @@ } foreach ($data['eqLogic'] as $id => $value) { $eqLogic = eqLogic::byId($id); - if(is_object($eqLogic)){ + if(is_object($cmd)){ $eqLogic->setCache($value); } } @@ -43,4 +43,4 @@ } } catch (\Throwable $th) { echo 'Error on reload cache : '.$th->getMessage(); -} \ No newline at end of file +}