Revert "Update privmsg.php"

This reverts commit cfeb1f1a93.
This commit is contained in:
Roman Kelesidis 2024-02-08 00:16:24 +07:00
parent f715759ffd
commit 4b12b18e1c

View File

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