From 2e9c340684b829cbf91f3891460bb8dfe664015c Mon Sep 17 00:00:00 2001 From: Hugo Sales Date: Fri, 14 Aug 2020 22:39:16 +0000 Subject: [PATCH] [DB][AVATAR] Remove extraneous slash --- src/Entity/Avatar.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); } /**