From 88d2093698cc1ea477c209bbccbdc09ea8597c56 Mon Sep 17 00:00:00 2001 From: junior Date: Tue, 15 Feb 2022 16:39:45 +0000 Subject: [PATCH] Remove extraneous forward slash in serialized url data --- class_image.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/class_image.php b/class_image.php index 05699d1..1574162 100644 --- a/class_image.php +++ b/class_image.php @@ -253,8 +253,8 @@ class Image implements JsonSerializable { 'id' => $this->getID(), 'album_id' => $this->getAlbumID(), 'albumfolder' => $this->getAlbumFolder(), - 'imageurl' => basename(ALBUMFOLDER) . "/" . $this->getAlbumFolder() . "/" . $this->getFileName(), - 'thumburl' => basename(THUMBNAILFOLDER) . "/" . $this->getAlbumFolder() . "/" . $this->getFileName(), + 'imageurl' => basename(ALBUMFOLDER) . "/" . $this->getAlbumFolder() . $this->getFileName(), + 'thumburl' => basename(THUMBNAILFOLDER) . "/" . $this->getAlbumFolder() . $this->getFileName(), 'title' => $this->getTitle(), 'description' => $this->getDescription(), 'createtime' => $this->getCreateTime()