Return empty array instead of false from get_editable_user_ids. Props Denis-de-Bernardy, pairg. fixes #10119 for trunk

git-svn-id: http://svn.automattic.com/wordpress/trunk@11571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-06-15 17:48:42 +00:00
parent 547996eb20
commit fc67a8145e
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ function get_editable_user_ids( $user_id, $exclude_zeros = true, $post_type = 'p
if ( $user->has_cap("edit_{$post_type}s") || $exclude_zeros == false )
return array($user->id);
else
return false;
return array();
}
$level_key = $wpdb->prefix . 'user_level';