1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/10158] Add return-link to folder, when the user replied from a folder.

PHPBB3-10158
This commit is contained in:
Joas Schilling
2011-05-09 12:46:34 +02:00
parent 65d956bd81
commit 437013194a
2 changed files with 17 additions and 7 deletions

View File

@@ -115,7 +115,7 @@ class ucp_pm
case 'compose':
$action = request_var('action', 'post');
get_folder($user->data['user_id']);
$user_folders = get_folder($user->data['user_id']);
if (!$auth->acl_get('u_sendpm'))
{
@@ -130,7 +130,7 @@ class ucp_pm
}
include($phpbb_root_path . 'includes/ucp/ucp_pm_compose.' . $phpEx);
compose_pm($id, $mode, $action);
compose_pm($id, $mode, $action, $user_folders);
$tpl_file = 'posting_body';
break;