FIX #3533 Load categories language

This commit is contained in:
Raphaël Doursenaud 2015-09-16 21:35:20 +02:00
parent 7b8096d367
commit 6ffdbf91ec

View File

@ -1274,6 +1274,8 @@ else
// Categories // Categories
if (! empty($conf->categorie->enabled) && ! empty($user->rights->categorie->lire)) if (! empty($conf->categorie->enabled) && ! empty($user->rights->categorie->lire))
{ {
$langs->load('categories');
// Customer // Customer
if ($object->prospect || $object->client) { if ($object->prospect || $object->client) {
print '<tr><td class="toptd">' . fieldLabel('CustomersCategoriesShort', 'custcats') . '</td><td colspan="3">'; print '<tr><td class="toptd">' . fieldLabel('CustomersCategoriesShort', 'custcats') . '</td><td colspan="3">';