aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/console/command/thumbnail/generate.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/console/command/thumbnail/generate.php')
-rw-r--r--phpBB/phpbb/console/command/thumbnail/generate.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/console/command/thumbnail/generate.php b/phpBB/phpbb/console/command/thumbnail/generate.php
index 1cfb2159d9..1070b7b37a 100644
--- a/phpBB/phpbb/console/command/thumbnail/generate.php
+++ b/phpBB/phpbb/console/command/thumbnail/generate.php
@@ -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']));