mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[ticket/11480] PM : "Unknown folder" returned when inbox folder is full
https://tracker.phpbb.com/browse/PHPBB3-11480 PHPBB3-11480
This commit is contained in:
parent
d735129d6e
commit
4f6441b411
1 changed files with 6 additions and 0 deletions
|
@ -272,6 +272,12 @@ class ucp_pm
|
||||||
$folder_id = (int) $row['folder_id'];
|
$folder_id = (int) $row['folder_id'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Do not allow hold messages to be seen
|
||||||
|
if ($folder_id == PRIVMSGS_HOLD_BOX)
|
||||||
|
{
|
||||||
|
trigger_error('NO_AUTH_READ_HOLD_MESSAGE');
|
||||||
|
}
|
||||||
|
|
||||||
$message_row = array();
|
$message_row = array();
|
||||||
if ($action == 'view_message' && $msg_id)
|
if ($action == 'view_message' && $msg_id)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue