diff --git a/wp-content/themes/twentyten/archive.php b/wp-content/themes/twentyten/archive.php index 7f041db93..8bc3d63d7 100644 --- a/wp-content/themes/twentyten/archive.php +++ b/wp-content/themes/twentyten/archive.php @@ -25,7 +25,8 @@ * We reset this later so we can run the loop * properly with a call to rewind_posts(). */ - the_post(); + if ( have_posts() ) + the_post(); ?>