Update categories.lib.php

This commit is contained in:
Laurent Destailleur 2022-09-23 18:41:47 +02:00 committed by GitHub
parent ce48118bbb
commit 0c76fe8357
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,7 +99,7 @@ function categoriesadmin_prepare_head()
$head[$h][1] = $langs->trans("ExtraFieldsCategories");
$nbExtrafields = $extrafields->attributes['categorie']['count'];
if ($nbExtrafields > 0) {
$head[$h][1] .= ' <span class="badge">'.$nbExtrafields.'</span>';
$head[$h][1] .= '<span class="badge marginleftonlyshort">'.$nbExtrafields.'</span>';
}
$head[$h][2] = 'attributes_categories';
$h++;