1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-10-11 23:14:34 +02:00

Merge pull request #6870 from Derky/ticket/17557

[ticket/17557] Add error suppression to avatars in storage_track migration
This commit is contained in:
Marc Alexander
2025-10-05 10:22:44 +02:00
committed by GitHub

View File

@@ -98,7 +98,7 @@ class storage_track extends container_aware_migration
$filename = $this->config['avatar_salt'] . '_' . ($avatar_group ? 'g' : '') . $filename . '.' . $ext;
$files[] = [
'file_path' => $filename,
'filesize' => filesize($this->phpbb_root_path . $this->config['storage\\avatar\\config\\path'] . '/' . $filename),
'filesize' => @filesize($this->phpbb_root_path . $this->config['storage\\avatar\\config\\path'] . '/' . $filename),
];
if (count($files) >= self::BATCH_SIZE)