aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-03-04 08:47:47 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-03-04 08:47:47 +0100
commitc650078904e41c9dd468b329131ace2fcbd8d1f9 (patch)
tree871635ccd8f29c257f0a8058c31dd9002df6e979 /phpBB/includes
parenta3627a9ff767631121c70a00ca17d99a3533ad31 (diff)
downloadforums-c650078904e41c9dd468b329131ace2fcbd8d1f9.tar
forums-c650078904e41c9dd468b329131ace2fcbd8d1f9.tar.gz
forums-c650078904e41c9dd468b329131ace2fcbd8d1f9.tar.bz2
forums-c650078904e41c9dd468b329131ace2fcbd8d1f9.tar.xz
forums-c650078904e41c9dd468b329131ace2fcbd8d1f9.zip
[ticket/12187] Split generate_profile_fields_template() into 2 methods
Removing the mode switch that wraps the content of the method PHPBB3-12187
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/ucp/ucp_pm_viewmessage.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_viewmessage.php b/phpBB/includes/ucp/ucp_pm_viewmessage.php
index e4bc4629ac..feea01dbfa 100644
--- a/phpBB/includes/ucp/ucp_pm_viewmessage.php
+++ b/phpBB/includes/ucp/ucp_pm_viewmessage.php
@@ -63,7 +63,7 @@ function view_message($id, $mode, $folder_id, $msg_id, $folder, $message_row)
{
$cp = $phpbb_container->get('profilefields.manager');
- $profile_fields = $cp->generate_profile_fields_template('grab', $author_id);
+ $profile_fields = $cp->grab_profile_fields_data($author_id);
}
// Assign TO/BCC Addresses to template
@@ -173,7 +173,7 @@ function view_message($id, $mode, $folder_id, $msg_id, $folder, $message_row)
if (isset($profile_fields[$author_id]))
{
- $cp_row = $cp->generate_profile_fields_template('show', false, $profile_fields[$author_id]);
+ $cp_row = $cp->generate_profile_fields_template_data($profile_fields[$author_id]);
}
}