Skip to content

Commit 6543659

Browse files
brianteemanlaoneo
authored andcommitted
[4.0]Archive view (#21449)
Fix the missing endif to the title
1 parent 06edb9b commit 6543659

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

components/com_content/tmpl/archive/default.php

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@
1717
?>
1818
<div class="com-content-archive archive">
1919
<?php if ($this->params->get('show_page_heading')) : ?>
20-
<div class="page-header">
21-
<h1>
22-
<?php echo $this->escape($this->params->get('page_heading')); ?>
23-
</h1>
24-
</div>
20+
<div class="page-header">
21+
<h1>
22+
<?php echo $this->escape($this->params->get('page_heading')); ?>
23+
</h1>
24+
</div>
25+
<?php endif; ?>
26+
2527
<form id="adminForm" action="<?php echo Route::_('index.php'); ?>" method="post" class="com-content-archive__form form-inline">
2628
<fieldset class="com-content-archive__filters filters">
2729
<div class="filter-search">

0 commit comments

Comments
 (0)