1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-20 15:31:42 +02:00

[ticket/12169] Split mode==headline into it's own function

PHPBB3-12169
This commit is contained in:
Joas Schilling
2014-02-10 19:04:10 +01:00
parent 995019a992
commit 5550f0fa87
2 changed files with 36 additions and 29 deletions

View File

@@ -1508,7 +1508,7 @@ switch ($mode)
{
$cp = $phpbb_container->get('profilefields.manager');
$cp_row = $cp->generate_profile_fields_template('headlines', false, false, 'field_show_on_ml');
$cp_row = $cp->generate_profile_fields_template_headlines('field_show_on_ml');
foreach ($cp_row as $profile_field)
{
$template->assign_block_vars('custom_fields', $profile_field);