Merge pull request #7605 from dolibarr95/patch-22

Fix : Wrong test in technical services provided
This commit is contained in:
Laurent Destailleur 2017-10-11 11:49:18 +02:00 committed by GitHub
commit acc83db220

View File

@ -366,7 +366,7 @@ if ($mode == 'desc')
if ($mode == 'feature')
{
$text.='<br><strong>'.$langs->trans("DependsOn").':</strong> ';
if (count($objMod->requiredby)) $text.=join(',', $objMod->depends);
if (count($objMod->depends)) $text.=join(',', $objMod->depends);
else $text.=$langs->trans("None");
$text.='<br><strong>'.$langs->trans("RequiredBy").':</strong> ';
if (count($objMod->requiredby)) $text.=join(',', $objMod->requiredby);