From 5648135c0ed157b5d71371dda51f6d64308bfb49 Mon Sep 17 00:00:00 2001 From: Chuck Scott Date: Thu, 12 Sep 2019 14:56:43 -0400 Subject: [PATCH] Fixing problem with "currentSite" not set correctly when not Provider site. --- models/adminServerStats.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/models/adminServerStats.php b/models/adminServerStats.php index 0bcc3c5..d924212 100755 --- a/models/adminServerStats.php +++ b/models/adminServerStats.php @@ -212,6 +212,9 @@ class adminServerStats extends glmServerStatsBandwidthSupport // Get list of sites in the bandwidth database $websites = $this->bandwidthLastMonthAllSites($sortBy); + } else { + // Get the settings for the currently selected site + $currentSite = bandwidthGetWebsiteSettingsFromName($currentSiteName); } // Get bandwidth stats for the current site -- 2.17.1