Update privmsg.php

This commit is contained in:
Roman Kelesidis 2024-02-07 15:14:21 +07:00
parent 7a402e8f70
commit cfeb1f1a93

View File

@ -75,7 +75,7 @@ $template->assign_vars(array(
//
// Set mode for quick reply
//
if (empty($mode) && $bb_cfg['show_quick_reply'] && ($folder == 'inbox') && $preview)
if ($bb_cfg['show_quick_reply'] && $folder == 'inbox' && $mode == 'read' && $preview)
{
$mode = 'reply';
}
@ -369,6 +369,7 @@ if ($mode == 'read')
}
$s_hidden_fields = '<input type="hidden" name="mark[]" value="' . $privmsgs_id . '" />';
$s_hidden_fields = '<input type="hidden" name="mode" value="' . $mode . '" />';
$page_title = $lang['READ_PM'];