diff --git a/Controller/BackendController.php b/Controller/BackendController.php index c10ba72..838e761 100755 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -128,7 +128,7 @@ final class BackendController extends Controller $path = (string) ($request->getData('path') ?? '/'); /** @var Media[] $media */ - $media = MediaMapper::getByVirtualPath($path); + $media = MediaMapper::getByVirtualPath(\str_replace('+', ' ', $path)); $collection = CollectionMapper::getParentCollection(\str_replace('+', ' ', $path)); diff --git a/Models/Collection.php b/Models/Collection.php index 25a65fb..4efbedd 100755 --- a/Models/Collection.php +++ b/Models/Collection.php @@ -40,14 +40,6 @@ class Collection extends Media implements \Iterator */ protected string $extension = 'collection'; - /** - * Versioned. - * - * @var bool - * @since 1.0.0 - */ - protected bool $versioned = false; - /** * Constructor. * diff --git a/Theme/Backend/media-single.tpl.php b/Theme/Backend/media-single.tpl.php index 236f594..52a1e6c 100755 --- a/Theme/Backend/media-single.tpl.php +++ b/Theme/Backend/media-single.tpl.php @@ -126,7 +126,7 @@ echo $this->getData('nav')->render(); if ($this->isImageFile($media, $path)) : ?>