1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-01-29 20:49:48 +01:00

Merge pull request #6025 from 3D-I/ticket/16550-3.2.x

[ticket/16550] Fix undefined variable url in PMs [3.2.x]
This commit is contained in:
Marc Alexander 2020-07-21 11:55:19 +02:00 committed by GitHub
commit 361e97d097
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2046,6 +2046,8 @@ function message_history($msg_id, $user_id, $message_row, $folder, $in_post_mode
while ($row = $db->sql_fetchrow($result));
$db->sql_freeresult($result);
$url = append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm');
/**
* Modify message rows before displaying the history in private messages
*
@ -2080,7 +2082,6 @@ function message_history($msg_id, $user_id, $message_row, $folder, $in_post_mode
$title = censor_text($title);
$url = append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm');
$next_history_pm = $previous_history_pm = $prev_id = 0;
// Re-order rowset to be able to get the next/prev message rows...