mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[feature/attch-dl] $forum_id cast to int
PHPBB3-11042
This commit is contained in:
parent
617a5132d8
commit
f6e8d938cb
1 changed files with 1 additions and 1 deletions
|
@ -369,7 +369,7 @@ else
|
||||||
|
|
||||||
$extensions = array();
|
$extensions = array();
|
||||||
$files_added = 0;
|
$files_added = 0;
|
||||||
$forum_id = ($attachment['in_message']) ? false : $row['forum_id'];
|
$forum_id = ($attachment['in_message']) ? false : (int) $row['forum_id'];
|
||||||
$disallowed = array();
|
$disallowed = array();
|
||||||
|
|
||||||
foreach ($attachments as $attach)
|
foreach ($attachments as $attach)
|
||||||
|
|
Loading…
Add table
Reference in a new issue