From ee1e3bbaf9ea617094cd3bbf922ca932f5b813f2 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Tue, 23 Aug 2022 10:31:17 +0300 Subject: [PATCH] fix webhook cache --- application/Espo/Core/Webhook/Manager.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/Espo/Core/Webhook/Manager.php b/application/Espo/Core/Webhook/Manager.php index 4fc4349d18..bf520497ff 100644 --- a/application/Espo/Core/Webhook/Manager.php +++ b/application/Espo/Core/Webhook/Manager.php @@ -99,10 +99,10 @@ class Manager if (is_null($this->data)) { $this->data = $this->buildData(); - } - if ($this->config->get('useCache')) { - $this->storeDataToCache(); + if ($this->config->get('useCache')) { + $this->storeDataToCache(); + } } }