Remove extraneous forward slash in serialized url data

This commit is contained in:
Junior 2022-02-15 16:39:45 +00:00
parent dc582438de
commit 88d2093698

View File

@ -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()