projects
/
WP-Plugins
/
glm-serverstats.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b80b8e
)
Fixing problem with "currentSite" not set correctly when not Provider site.
author
Chuck Scott
<cscott@gaslightmedia.com>
Thu, 12 Sep 2019 18:56:43 +0000
(14:56 -0400)
committer
Chuck Scott
<cscott@gaslightmedia.com>
Thu, 12 Sep 2019 18:56:43 +0000
(14:56 -0400)
models/adminServerStats.php
patch
|
blob
|
history
diff --git
a/models/adminServerStats.php
b/models/adminServerStats.php
index
0bcc3c5
..
d924212
100755
(executable)
--- 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