----------------------------------------
* CRM-16528: hook_civicrm_contact_get_displayname does not work. Missing an "&" in alterDisplayName inhooks.php
https://issues.civicrm.org/jira/browse/CRM-16528
*
* @return mixed
*/
- public static function alterDisplayName($displayName, $contactId, $dao) {
+ public static function alterDisplayName(&$displayName, $contactId, $dao) {
return self::singleton()->invoke(3,
$displayName, $contactId, $dao, self::$_nullObject, self::$_nullObject,
self::$_nullObject, 'civicrm_contact_get_displayname'