mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 22:08:54 +00:00
[ticket/12692] Cast the ids to int
PHPBB3-12692
This commit is contained in:
parent
6b5fdc730f
commit
c96cc2cb05
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ class generate extends \phpbb\console\command\command
|
|||
|
||||
if (create_thumbnail($source, $destination, $row['mimetype']))
|
||||
{
|
||||
$thumbnail_created[] = $row['attach_id'];
|
||||
$thumbnail_created[] = (int) $row['attach_id'];
|
||||
if ($input->getOption('verbose'))
|
||||
{
|
||||
$output->writeln($this->user->lang('THUMBNAIL_GENERATED', $row['real_filename'], $row['physical_filename']));
|
||||
|
|
Loading…
Add table
Reference in a new issue