mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/16550] Fix undefined variable url in PMs
PHPBB3-16550
This commit is contained in:
parent
3905227758
commit
ecbb37e0ba
1 changed files with 2 additions and 1 deletions
|
@ -2046,6 +2046,8 @@ function message_history($msg_id, $user_id, $message_row, $folder, $in_post_mode
|
||||||
while ($row = $db->sql_fetchrow($result));
|
while ($row = $db->sql_fetchrow($result));
|
||||||
$db->sql_freeresult($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
|
* 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);
|
$title = censor_text($title);
|
||||||
|
|
||||||
$url = append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm');
|
|
||||||
$next_history_pm = $previous_history_pm = $prev_id = 0;
|
$next_history_pm = $previous_history_pm = $prev_id = 0;
|
||||||
|
|
||||||
// Re-order rowset to be able to get the next/prev message rows...
|
// Re-order rowset to be able to get the next/prev message rows...
|
||||||
|
|
Loading…
Add table
Reference in a new issue