Commit 8329b3d8 authored by Jeremy's avatar Jeremy Committed by Jeremy

Issue #2853922 by Jeremy: Enabling memcache_admin error results in warning "Illegal offset type"

parent de475202
......@@ -61,8 +61,9 @@ function memcache_admin_menu() {
$clusters = array();
foreach ($memcache_servers as $server => $bin) {
if ($cluster = dmemcache_object_cluster($bin)) {
$clusters[$cluster]['servers'][] = $server;
$clusters[$cluster]['bin'] = _memcache_admin_get_bin_for_cluster($cluster['cluster']);
$name = $cluster['cluster'];
$clusters[$name]['servers'][] = $server;
$clusters[$name]['bin'] = _memcache_admin_get_bin_for_cluster($cluster['cluster']);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment