warnings cleanup, dont show removed user in edit site, fixes #12409

git-svn-id: http://svn.automattic.com/wordpress/trunk@13460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
wpmuguru
2010-02-27 17:27:34 +00:00
parent e3e50d63f7
commit 21f661bdf0
2 changed files with 9 additions and 4 deletions
+2
View File
@@ -242,6 +242,8 @@ switch ( $action ) {
echo "<tr><th>" . __('User') . "</th><th>" . __('Role') . "</th><th>" . __('Password') . "</th><th>" . __('Remove') . "</th></tr>";
reset($blogusers);
foreach ( (array) $blogusers as $key => $val ) {
if ( isset( $val->meta_value ) && ! $val->meta_value )
continue;
$t = @unserialize( $val->meta_value );
if ( is_array( $t ) ) {
reset( $t );