diff --git a/lib/blogs.php b/lib/blogs.php index 73ce1242f0408ce6ea15c5da6a35aa4ea7161e53..3a8177bc86fb8fb42f53474dd4664a5d94e7bff8 100644 --- a/lib/blogs.php +++ b/lib/blogs.php @@ -32,7 +32,7 @@ function noblogs_get_backend_for_blog($blog_id) { // Create a temporary hash object just to load the backends // (we cannot use the map in $wpdb because it doesn't have the // backend array anymore). - $hashmap = new Flexihash(); + $hashmap = new Flexihash(null, R2DB_FLEXIHASH_REPLICAS); $reversemap = noblogs_load_backends(NOBLOGS_BACKEND_CONFIG, $hashmap); // Lookup the blog ID using the $wpdb hash just to be safe (though