Skip to content

Commit

Permalink
fix(hasposts): add missing closing tag (Fixes: #34)
Browse files Browse the repository at this point in the history
  • Loading branch information
ethicka authored Mar 31, 2020
1 parent 433f3a4 commit 063ecd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Directives/WordPress.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"<?php endif; ?>" .

"<?php \$query = \$posts->isNotEmpty() ? new WP_Query(\$posts->all()) : {$expression}; ?>" .
"<?php if (\$query->have_posts()) :";
"<?php if (\$query->have_posts()) : ?>";
}

return "<?php if (empty(\$query)) : ?>" .
Expand Down

0 comments on commit 063ecd6

Please sign in to comment.