diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-09-12 14:47:22 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-09-12 14:47:22 +0000 |
commit | f6a528fcff7ee7687fcbe7876f140d46648fbb41 (patch) | |
tree | eb46e01c2dde2d7e9e92dcb56d3381493620b080 /wp-admin/wpmu-edit.php | |
parent | 35ea9bb38befa461eaa4906f04f6d816eb221440 (diff) | |
download | wordpress-mu-f6a528fcff7ee7687fcbe7876f140d46648fbb41.tar.gz wordpress-mu-f6a528fcff7ee7687fcbe7876f140d46648fbb41.tar.xz wordpress-mu-f6a528fcff7ee7687fcbe7876f140d46648fbb41.zip |
Site admin list should be space separated (fixed #117)
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@741 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/wpmu-edit.php')
-rw-r--r-- | wp-admin/wpmu-edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-admin/wpmu-edit.php b/wp-admin/wpmu-edit.php index abf2732..75cf095 100644 --- a/wp-admin/wpmu-edit.php +++ b/wp-admin/wpmu-edit.php @@ -33,7 +33,7 @@ switch( $_REQUEST[ 'action' ] ) { update_site_option( "first_post", $_POST[ 'first_post' ] ); update_site_option( "welcome_email", $_POST[ 'welcome_email' ] ); update_site_option( "fileupload_maxk", $_POST[ 'fileupload_maxk' ] ); - $site_admins = explode( ' ', $_POST['site_admins'] ); + $site_admins = explode( ' ', str_replace( ",", " ", $_POST['site_admins'] ) ); if ( is_array( $site_admins ) ) { $mainblog_id = $wpdb->get_var( "SELECT blog_id FROM {$wpdb->blogs} WHERE domain='{$current_site->domain}' AND path='{$current_site->path}'" ); if( $mainblog_id ) { |