Merge pull request #23053 from Easya-Solutions/new-dol-get-element-url-mailing

NEW dolGetElementUrl for mailing object
This commit is contained in:
Laurent Destailleur 2022-12-01 10:53:54 +01:00 committed by GitHub
commit fdb2f5956e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2234,7 +2234,11 @@ function dolGetElementUrl($objectid, $objecttype, $withpicto = 0, $option = '')
$classpath = 'compta/facture/class';
$classfile = 'facture-rec';
$classname = 'FactureRec';
$module='facture';
$module = 'facture';
} elseif ($objecttype == 'mailing') {
$classpath = 'comm/mailing/class';
$classfile = 'mailing';
$classname = 'Mailing';
}
if (isModEnabled($module)) {