diff options
author | PayBas <contact@paybas.com> | 2014-04-14 20:50:51 +0200 |
---|---|---|
committer | PayBas <contact@paybas.com> | 2014-05-03 17:54:37 +0200 |
commit | 2343d9f8d42337353d32a69fddcc1a51e0a49f5a (patch) | |
tree | 27da9573a0c3a630659962bd928a0fdef86637aa /phpBB/phpbb/profilefields/manager.php | |
parent | 1fd1803a3bfffd15e0bc85097cd84c3f2d9ec163 (diff) | |
download | forums-2343d9f8d42337353d32a69fddcc1a51e0a49f5a.tar forums-2343d9f8d42337353d32a69fddcc1a51e0a49f5a.tar.gz forums-2343d9f8d42337353d32a69fddcc1a51e0a49f5a.tar.bz2 forums-2343d9f8d42337353d32a69fddcc1a51e0a49f5a.tar.xz forums-2343d9f8d42337353d32a69fddcc1a51e0a49f5a.zip |
[ticket/12335] Documentation fix and added use_contact_fields
PHPBB3-12335
Diffstat (limited to 'phpBB/phpbb/profilefields/manager.php')
-rw-r--r-- | phpBB/phpbb/profilefields/manager.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/phpbb/profilefields/manager.php b/phpBB/phpbb/profilefields/manager.php index 7c0397a563..a7b8f55e34 100644 --- a/phpBB/phpbb/profilefields/manager.php +++ b/phpBB/phpbb/profilefields/manager.php @@ -325,7 +325,7 @@ class manager * Event to modify profile fields data retrieved from the database * * @event core.grab_profile_fields_data - * @var int|array $user_ids Single user id or an array of ids + * @var array $user_ids Single user id or an array of ids * @var array $field_data Array with profile fields data * @since 3.1.0-b3 */ @@ -429,9 +429,10 @@ class manager * @event core.generate_profile_fields_template_data * @var array profile_row Array with users profile field data * @var array tpl_fields Array with template data fields + * @var bool use_contact_fields Should we display contact fields as such? * @since 3.1.0-b3 */ - $vars = array('profile_row', 'tpl_fields'); + $vars = array('profile_row', 'tpl_fields', 'use_contact_fields'); extract($this->dispatcher->trigger_event('core.generate_profile_fields_template_data', compact($vars))); return $tpl_fields; |