Correction description catégorie

This commit is contained in:
Mélina 2021-12-01 09:58:01 +01:00
parent 7dff30126d
commit 5c1638227d

View File

@ -229,7 +229,7 @@ function PrintCategories(first) {
$("#catdivdesc"+i).show();
<?php
if ($conf->global->TAKEPOS_SHOW_CATEGORY_DESCRIPTION == 1) { ?>
$("#catdesc"+i).html(categories[parseInt(i)+parseInt(first)]['label'].bold() + ' - ' + ['description']);
$("#catdesc"+i).html(categories[parseInt(i)+parseInt(first)]['label'].bold() + ' - ' + categories[parseInt(i)+parseInt(first)]['description']);
<?php } else { ?>
$("#catdesc"+i).text(categories[parseInt(i)+parseInt(first)]['label']);
<?php } ?>