Index: wp-includes/post-thumbnail-template.php
===================================================================
--- wp-includes/post-thumbnail-template.php	(revision 12398)
+++ wp-includes/post-thumbnail-template.php	(working copy)
@@ -19,7 +19,7 @@
  */
 function has_post_thumbnail( $post_id = NULL ) {
 	global $id;
-	$post_id = ( NULL === $post_id ) ? $id : $popost-thumbnailst_id;
+	$post_id = ( NULL === $post_id ) ? $id : $post_id;
 	return !! get_post_thumbnail_id( $post_id );
 }
 
