Index: wp-includes/template-functions-post.php
===================================================================
--- wp-includes/template-functions-post.php	(revision 3378)
+++ wp-includes/template-functions-post.php	(working copy)
@@ -234,7 +234,11 @@
 function get_post_custom_values($key='') {
 	global $id, $post_meta_cache;
 
-	return $post_meta_cache[$id][$key];
+	if (empty($key)) {
+		return $post_meta_cache[$id];
+	} else {
+		return get_post_custom();
+	}
 }
 
 

