Fix method not found
This commit is contained in:
parent
5ae13ea9d6
commit
1a3fbc092d
@ -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)))
|
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");
|
else print $langs->trans("Required");
|
||||||
if (! empty($conf->multicompany->enabled) && $user->entity) $disableSetup++;
|
if (! empty($conf->multicompany->enabled) && $user->entity) $disableSetup++;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user