mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Merge pull request #12566 from atm-maxime/fix_thirdparty_numbering
Fix #12483 : fix thirdparty numbering module selection
This commit is contained in:
commit
04be14ce52
|
|
@ -414,7 +414,7 @@ foreach($arrayofmodules as $file => $modCodeTiers)
|
|||
}
|
||||
else
|
||||
{
|
||||
$disabled = (! empty($conf->multicompany->enabled) && (is_object($mc) && ! empty($mc->sharings['referent']) && $mc->sharings['referent'] == $conf->entity) ? false : true);
|
||||
$disabled = (! empty($conf->multicompany->enabled) && (is_object($mc) && ! empty($mc->sharings['referent']) && $mc->sharings['referent'] != $conf->entity) ? true : false);
|
||||
print '<td class="center">';
|
||||
if (! $disabled) print '<a class="reposition" href="'.$_SERVER['PHP_SELF'].'?action=setcodeclient&value='.$file.'">';
|
||||
print img_picto($langs->trans("Disabled"), 'switch_off');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user