mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 01:28:19 +01:00
Rename substituion key __MEMBER_CIVILITY__
This commit is contained in:
@@ -27,6 +27,8 @@ The following changes may create regressions for some external modules, but were
|
||||
* The old function dol_bc($var, $moreclass = '') has been removed. If you called it, just stop to call it.
|
||||
* The trigger code CATEGORY_LINK and CATEGORY_UNLINK has been replaced with code CATEGORY_MODIFY. You can read ->context['linkto'] or ->context['unlinkoff' to detect we want to make a link or unlink.
|
||||
* The property ->domiciliation and ->propio on bank accounts has been deprecated and replaced with property ->address and ->owner_name
|
||||
* If you were using the substitution key __MEMBER_CIVILITY__, you must now use __MEMBER_TITLE__
|
||||
|
||||
|
||||
***** ChangeLog for 20.0.1 compared to 20.0.0 *****
|
||||
|
||||
|
||||
@@ -9081,7 +9081,6 @@ function getCommonSubstitutionArray($outputlangs, $onlykey = 0, $exclude = null,
|
||||
|
||||
$substitutionarray['__MEMBER_ID__'] = (isset($object->id) ? $object->id : '');
|
||||
if (method_exists($object, 'getCivilityLabel')) {
|
||||
$substitutionarray['__MEMBER_CIVILITY__'] = $object->getCivilityLabel(); // deprecated
|
||||
$substitutionarray['__MEMBER_TITLE__'] = $object->getCivilityLabel();
|
||||
}
|
||||
$substitutionarray['__MEMBER_FIRSTNAME__'] = (isset($object->firstname) ? $object->firstname : '');
|
||||
|
||||
Reference in New Issue
Block a user