mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/12759] Cache lang_options for pm_viewmessage
PHPBB3-12759
This commit is contained in:
parent
7484859c71
commit
f776ac7d58
1 changed files with 2 additions and 0 deletions
|
@ -68,6 +68,8 @@ function view_message($id, $mode, $folder_id, $msg_id, $folder, $message_row)
|
||||||
$cp = $phpbb_container->get('profilefields.manager');
|
$cp = $phpbb_container->get('profilefields.manager');
|
||||||
|
|
||||||
$profile_fields = $cp->grab_profile_fields_data($author_id);
|
$profile_fields = $cp->grab_profile_fields_data($author_id);
|
||||||
|
|
||||||
|
$cp->cache_profile_fields_lang_options($profile_fields[$author_id]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Assign TO/BCC Addresses to template
|
// Assign TO/BCC Addresses to template
|
||||||
|
|
Loading…
Add table
Reference in a new issue