mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-22 17:41:24 +02:00
[ticket/12692] Cast the ids to int
PHPBB3-12692
This commit is contained in:
committed by
Tristan Darricau
parent
6b5fdc730f
commit
c96cc2cb05
@@ -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']));
|
||||
|
Reference in New Issue
Block a user