mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-29 02:29:21 +02:00
[feature/attch-dl] $forum_id cast to int
PHPBB3-11042
This commit is contained in:
parent
617a5132d8
commit
f6e8d938cb
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user