Fix MenuBotton display if some elements are removed

From menu_categories
This commit is contained in:
slawkens
2025-08-12 17:42:06 +02:00
parent 20f99903ae
commit 11dae90fa9

View File

@@ -391,7 +391,7 @@ foreach($config['menu_categories'] as $id => $cat) {
?> ?>
</div> </div>
<?php <?php
if($id == MENU_CATEGORY_SHOP || (!setting('core.gifts_system') && $i == $countElements)) { if ($i == $countElements) {
?> ?>
<div id='MenuBottom' style='background-image:url(<?php echo $template_path; ?>/images/general/box-bottom.gif);'></div> <div id='MenuBottom' style='background-image:url(<?php echo $template_path; ?>/images/general/box-bottom.gif);'></div>
<?php <?php