Fix warning. Props filosofo. fixes #13764
git-svn-id: http://svn.automattic.com/wordpress/trunk@15157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
fe5e3d0fb6
commit
0f1c7faf0c
|
@ -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] )
|
||||
|
|
Loading…
Reference in New Issue