Skip to content

Commit

Permalink
Update default_batch_body.php
Browse files Browse the repository at this point in the history
Move category field to the layout directly. Add the `addRoot` parameter
  • Loading branch information
artur-stepien committed May 6, 2020
1 parent 673491f commit 7ef4eee
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
<?php if ($published >= 0) : ?>
<div class="control-group span6">
<div class="controls">
<?php echo JHtml::_('batch.item', $extension); ?>
<?php $displayData = array('extension' => $extension, 'addRoot' => true); ?>
<?php echo JLayoutHelper::render('joomla.html.batch.item', $displayData) ?>
</div>
</div>
<?php endif; ?>
Expand Down

0 comments on commit 7ef4eee

Please sign in to comment.