From b4012b7d2ed6b34b69ad767570dd33f0dc7db920 Mon Sep 17 00:00:00 2001 From: Yassine Doghri Date: Wed, 12 May 2021 08:19:09 +0000 Subject: [PATCH] fix(rss): use originalPath instead of originalMediaPath in Image library --- app/Libraries/Image.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Libraries/Image.php b/app/Libraries/Image.php index 78a5c2ac..9204aa38 100644 --- a/app/Libraries/Image.php +++ b/app/Libraries/Image.php @@ -101,7 +101,7 @@ class Image $id3 = $dirname . '/' . $filename . $id3Extension . '.' . $extension; $this->original_path = $originalMediaPath; - $this->original_url = media_url($originalMediaPath); + $this->original_url = media_url($originalPath); $this->thumbnail_path = $thumbnail; $this->thumbnail_url = base_url($thumbnail); $this->medium_path = $medium;