Skip to content

Commit 063ecd6

Browse files
authored
fix(hasposts): add missing closing tag (Fixes: #34)
1 parent 433f3a4 commit 063ecd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Directives/WordPress.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
"<?php endif; ?>" .
8989

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

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

0 commit comments

Comments
 (0)