Fix get_post_meta() array return. fixes #2183

git-svn-id: http://svn.automattic.com/wordpress/trunk@3410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-01-06 01:30:13 +00:00
parent cff4c42d36
commit 02089fb5f2
1 changed files with 1 additions and 1 deletions

View File

@ -472,7 +472,7 @@ function get_post_meta($post_id, $key, $single = false) {
if ( $single ) {
return maybe_unserialize( $post_meta_cache[$post_id][$key][0] );
} else {
return maybe_unserialize( $post_meta_cache[$post_id][$key][0] );
return maybe_unserialize( $post_meta_cache[$post_id][$key] );
}
}