From a5fe68e002632c190ffbd85167671ed4d4961135 Mon Sep 17 00:00:00 2001 From: donncha Date: Thu, 21 Jun 2007 16:41:02 +0000 Subject: WP Merge to WP 2.2.1 git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1005 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-includes/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wp-includes/user.php') diff --git a/wp-includes/user.php b/wp-includes/user.php index ca4006b..f243fcc 100644 --- a/wp-includes/user.php +++ b/wp-includes/user.php @@ -56,7 +56,7 @@ function update_user_option( $user_id, $option_name, $newvalue, $global = false function get_users_of_blog( $id = '' ) { global $wpdb, $wpmuBaseTablePrefix; if ( empty($id) ) - $id = (int) $wpdb->blogid; + $id = (int) $wpdb->blogid; $users = $wpdb->get_results( "SELECT user_id, user_login, display_name, user_email, meta_value FROM $wpdb->users, $wpdb->usermeta WHERE " . $wpdb->users . ".ID = " . $wpdb->usermeta . ".user_id AND meta_key = '" . $wpmuBaseTablePrefix . $id . "_capabilities' ORDER BY {$wpdb->usermeta}.user_id" ); return $users; } -- cgit