mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[feature/attach-dl] Do not check for passworted forum when it's a PM.
PHPBB3-11042
This commit is contained in:
parent
62305bec6d
commit
6dd0bd0bce
1 changed files with 4 additions and 2 deletions
|
@ -327,8 +327,10 @@ else if ($download_id)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// sizeof($attachments) >= 1
|
// sizeof($attachments) >= 1
|
||||||
|
if (!$attachment['in_message'])
|
||||||
phpbb_download_handle_passworded_forum($db, $auth, $attachment['topic_id']);
|
{
|
||||||
|
phpbb_download_handle_passworded_forum($db, $auth, $attachment['topic_id']);
|
||||||
|
}
|
||||||
|
|
||||||
if (!class_exists('compress'))
|
if (!class_exists('compress'))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue