From d624dc4ec7014546a928738049117538b04f531e Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Thu, 23 Dec 2021 12:25:14 +0100 Subject: [PATCH] wip #4978 @0.25 --- src/Reporting.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Reporting.php b/src/Reporting.php index 786e3f9..7f7f7a1 100644 --- a/src/Reporting.php +++ b/src/Reporting.php @@ -74,6 +74,9 @@ class Reporting public function deleteSite($siteId) { + if (isset($this->_allSites[$siteId])) { + unset($this->_allSites[$siteId]); + } return $this->_apicall('SitesManager.deleteSite', ['idSite', $siteId]); } -- 2.39.5