mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-26 17:54:39 +02:00
[ticket/17361] Rewrite storage
PHPBB-17361
This commit is contained in:
@@ -90,7 +90,7 @@ class avatar extends controller
|
||||
}
|
||||
|
||||
$ext = substr(strrchr($file, '.'), 1);
|
||||
$file = (int) $file;
|
||||
$file = (int) $file; // This removes the timestamp leaving only the user id
|
||||
|
||||
return $this->config['avatar_salt'] . '_' . ($avatar_group ? 'g' : '') . $file . '.' . $ext;
|
||||
}
|
||||
|
Reference in New Issue
Block a user