We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ef6ec9 commit 9f1b2f2Copy full SHA for 9f1b2f2
2 files changed
src/Dashboards/Memcached/MemcachedDashboard.php
@@ -169,6 +169,10 @@ public function showPanels(): string {
169
public function dashboard(): string {
170
$servers = Config::get('memcached');
171
172
+ if (empty($servers)) {
173
+ return 'No servers';
174
+ }
175
+
176
if (isset($_GET['moreinfo'])) {
177
$return = $this->moreInfo($servers);
178
} else {
src/Dashboards/Redis/RedisDashboard.php
@@ -192,6 +192,10 @@ public function showPanels(): string {
192
193
$servers = Config::get('redis');
194
195
196
197
198
199
200
201
0 commit comments