diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-08-05 10:34:12 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-08-05 10:34:12 +0000 |
| commit | 51f4689c021c2abf5c225f355c5e0a0e8ea4dac7 (patch) | |
| tree | fc7a213d4e157461652aea2aee628292fe94d7ec | |
| parent | 4758589330401621673d25d3dd3afb627c0df1fa (diff) | |
SQL fix - where site_id belongs.
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@127 7be80a69-a1ef-0310-a953-fb0f7c49ff36
| -rw-r--r-- | wp-inst/wp-includes/wpmu-functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-inst/wp-includes/wpmu-functions.php b/wp-inst/wp-includes/wpmu-functions.php index 1d3e7bb..36f83ce 100644 --- a/wp-inst/wp-includes/wpmu-functions.php +++ b/wp-inst/wp-includes/wpmu-functions.php @@ -652,7 +652,7 @@ function get_admin_users_for_domain( $sitedomain = '', $path = '' ) { FROM ".$wpdb->users.", ".$wpdb->sitemeta." WHERE meta_key = 'admin_user_id' AND ".$wpdb->users.".ID = ".$wpdb->sitemeta.".meta_value - AND site_id = '".$site_id."'"; + AND ".$wpdb->sitemeta.".site_id = '".$site_id."'"; $details = $wpdb->get_results( $query, ARRAY_A ); } else { $details = false; |
