forked from Wavyzz/dolibarr
use isModEnabled function
This commit is contained in:
@@ -3352,7 +3352,7 @@ function dol_print_phone($phone, $countrycode = '', $cid = 0, $socid = 0, $addli
|
||||
}
|
||||
|
||||
//if (($cid || $socid) && ! empty($conf->agenda->enabled) && $user->rights->agenda->myactions->create)
|
||||
if (!empty($conf->agenda->enabled) && $user->rights->agenda->myactions->create) {
|
||||
if (isModEnabled('agenda') && $user->rights->agenda->myactions->create) {
|
||||
$type = 'AC_TEL';
|
||||
$link = '';
|
||||
if ($addlink == 'AC_FAX') {
|
||||
|
||||
Reference in New Issue
Block a user