Use isModEnabled

This commit is contained in:
Alexandre SPANGARO 2022-09-25 23:07:58 +02:00
parent a415fcfe4c
commit e869e0d579

View File

@ -99,7 +99,7 @@ function user_prepare_head(User $object)
$h++;
}
if (!isModEnabled('clicktodial')) {
if (isModEnabled('clicktodial')) {
$head[$h][0] = DOL_URL_ROOT.'/user/clicktodial.php?id='.$object->id;
$head[$h][1] = $langs->trans("ClickToDial");
$head[$h][2] = 'clicktodial';