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(); + } } }