Skip to content

Commit 25e6889

Browse files
committed
added title
1 parent c87314b commit 25e6889

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

www/go/base/model/Template.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,8 @@ public static function getCompanyAttributes(\go\modules\community\addressbook\mo
206206
public static function getContactAttributes(Contact $contact, $tagPrefix = 'contact:', $companyTagPrefix = 'company:'){
207207
$attributes[$tagPrefix . 'salutation'] = $contact->getSalutation();
208208
$attributes[$tagPrefix . 'sirmadam']=$contact->gender=="M" ? \GO::t('sir') : \GO::t('madam');
209-
209+
$attributes[$tagPrefix . 'title'] = $contact->prefixes;
210+
$attributes[$tagPrefix . 'suffixes'] = $contact->suffixes;
210211
$attributes[$tagPrefix . 'first_name'] = $contact->firstName;
211212
$attributes[$tagPrefix . 'middle_name'] = $contact->middleName;
212213
$attributes[$tagPrefix . 'last_name'] = $contact->lastName;

0 commit comments

Comments
 (0)