WordPress.org

Make WordPress Core

Changeset 15157


Ignore:
Timestamp:
06/07/10 13:11:48 (4 years ago)
Author:
ryan
Message:

Fix warning. Props filosofo. fixes #13764

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/ms-edit.php

    r15146 r15157  
    572572            wp_die( __( 'You do not have permission to access this page.' ) ); 
    573573 
    574         if ( is_array( $_POST['blog'] ) && ! empty( $_POST['blog'] ) ) { 
     574        if ( ! empty( $_POST['blog'] ) && is_array( $_POST['blog'] ) ) { 
    575575            foreach ( $_POST['blog'] as $id => $users ) { 
    576576                foreach ( $users as $blogid => $user_id ) { 
Note: See TracChangeset for help on using the changeset viewer.