From 4e8b16427fb671d93672a9a55581c1d125b43881 Mon Sep 17 00:00:00 2001 From: donncha Date: Mon, 16 Jun 2008 15:23:17 +0000 Subject: Merged out change, fixes #652, props trent git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1329 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-includes/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wp-includes/post.php') diff --git a/wp-includes/post.php b/wp-includes/post.php index 5c9409a..c054b8d 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -634,7 +634,7 @@ function get_post_custom($post_id = 0) { if ( ! wp_cache_get($post_id, 'post_meta') ) update_postmeta_cache($post_id); - return wp_cache_get($post_id, 'post_meta'); + return (array)wp_cache_get($post_id, 'post_meta'); } /** -- cgit