diff --git a/htdocs/admin/modules.php b/htdocs/admin/modules.php index 18546d67dc1..747a3cd41c3 100644 --- a/htdocs/admin/modules.php +++ b/htdocs/admin/modules.php @@ -691,7 +691,7 @@ if ($mode == 'common') } else if (! empty($objMod->always_enabled) || ((! empty($conf->multicompany->enabled) && $objMod->core_enabled) && ($user->entity || $conf->entity!=1))) { - if ($objMod->alreadyUsed()) print $langs->trans("Used"); + if (method_exists($objMod, 'alreadyUsed') && $objMod->alreadyUsed()) print $langs->trans("Used"); else print $langs->trans("Required"); if (! empty($conf->multicompany->enabled) && $user->entity) $disableSetup++; }