From 0f1c7faf0c149c8a8597e6866caa6c1b7db62fcc Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 7 Jun 2010 13:11:48 +0000 Subject: [PATCH] Fix warning. Props filosofo. fixes #13764 git-svn-id: http://svn.automattic.com/wordpress/trunk@15157 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/ms-edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/ms-edit.php b/wp-admin/ms-edit.php index 77a4a5a150..09f9d4bd4b 100644 --- a/wp-admin/ms-edit.php +++ b/wp-admin/ms-edit.php @@ -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] )