Fix warning. Props filosofo. fixes #13764

git-svn-id: https://develop.svn.wordpress.org/trunk@15157 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2010-06-07 13:11:48 +00:00
parent ccbfa3b52b
commit d3b81268cb
1 changed files with 1 additions and 1 deletions

View File

@ -571,7 +571,7 @@ switch ( $_GET['action'] ) {
if ( ! current_user_can( 'manage_network_users' ) )
wp_die( __( 'You do not have permission to access this page.' ) );
if ( is_array( $_POST['blog'] ) && ! empty( $_POST['blog'] ) ) {
if ( ! empty( $_POST['blog'] ) && is_array( $_POST['blog'] ) ) {
foreach ( $_POST['blog'] as $id => $users ) {
foreach ( $users as $blogid => $user_id ) {
if ( ! empty( $_POST['delete'] ) && 'reassign' == $_POST['delete'][$blogid][$id] )