diff --git a/src/Entity/Avatar.php b/src/Entity/Avatar.php index 85c30774c7..0d468bf58e 100644 --- a/src/Entity/Avatar.php +++ b/src/Entity/Avatar.php @@ -111,12 +111,12 @@ class Avatar extends Entity public static function getFilePathStatic(string $filename): string { - return Common::config('avatar', 'dir') . '/' . $filename; + return Common::config('avatar', 'dir') . $filename; } public function getFilePath(): string { - return Common::config('avatar', 'dir') . '/' . $this->getFile()->getFileName(); + return Common::config('avatar', 'dir') . $this->getFile()->getFileName(); } /**