Close #645 - Fix for search with no result

This commit is contained in:
Ben Word
2013-01-27 20:37:20 -06:00
parent 17c2dfa691
commit edfb82618a

View File

@@ -1,4 +1,5 @@
<?php get_template_part('templates/page', 'header'); ?> <?php get_template_part('templates/page', 'header'); ?>
<?php if (have_posts()) : ?> <?php
<?php get_template_part('templates/content', get_post_format()); ?> $format = have_posts() ? get_post_format() : false;
<?php endif; ?> get_template_part('templates/content', $format);
?>