options network page, db variable change, See #11644

git-svn-id: https://develop.svn.wordpress.org/trunk@12757 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ron Rennick
2010-01-19 00:18:52 +00:00
parent ef5e6e9ad2
commit cb779b4655
3 changed files with 337 additions and 1 deletions

View File

@@ -491,7 +491,7 @@ class wpdb {
function get_blog_prefix( $blog_id = '' ) {
if ( $blog_id ) {
if( defined('MULTISITE') && ( $blog_id == 0 || $blog_id == 1) ) {
return $this->prefix;
return $this->base_prefix;
} else {
return $this->base_prefix . $blog_id . '_';
}