mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[feature/attch-dl] $forum_id cast to int
PHPBB3-11042
This commit is contained in:
@@ -369,7 +369,7 @@ else
|
||||
|
||||
$extensions = array();
|
||||
$files_added = 0;
|
||||
$forum_id = ($attachment['in_message']) ? false : $row['forum_id'];
|
||||
$forum_id = ($attachment['in_message']) ? false : (int) $row['forum_id'];
|
||||
$disallowed = array();
|
||||
|
||||
foreach ($attachments as $attach)
|
||||
|
Reference in New Issue
Block a user