summaryrefslogtreecommitdiffstats
path: root/wpmu-settings.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-06-13 15:46:09 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-06-13 15:46:09 +0000
commit8815e65acfed6d3228f71de5616425c3577d36dd (patch)
tree5493283313294cfb7e2f56d4ed8c3d4d4befcb5d /wpmu-settings.php
parentbe7def7bce5501c02c3e499a6a57b7117c3bccd2 (diff)
downloadwordpress-mu-8815e65acfed6d3228f71de5616425c3577d36dd.tar.gz
wordpress-mu-8815e65acfed6d3228f71de5616425c3577d36dd.tar.xz
wordpress-mu-8815e65acfed6d3228f71de5616425c3577d36dd.zip
Make sure we set the current blog's blog_id when installing
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1326 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wpmu-settings.php')
-rw-r--r--wpmu-settings.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpmu-settings.php b/wpmu-settings.php
index bc658f0..c639541 100644
--- a/wpmu-settings.php
+++ b/wpmu-settings.php
@@ -157,6 +157,7 @@ if( $blog_id == false ) {
// default to using the "main" blog.
$blog_id = 1;
}
+ $current_blog->blog_id = $blog_id;
} else {
$check = $wpdb->get_results( "SELECT * FROM $wpdb->site" );
if( $check == false ) {