mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-02-10 14:38:41 +00:00
bug fixes from the day before
This commit is contained in:
parent
4c64fd072d
commit
cc95a0291f
|
|
@ -30,7 +30,6 @@ $media = $this->getData('media') ?? [];
|
|||
|
||||
/** @var \Modules\Admin\Models\Account $account */
|
||||
$account = $this->getData('account');
|
||||
|
||||
$accountDir = $account->getId() . ' ' . $account->login;
|
||||
|
||||
$previous = empty($media) ? '{/prefix}media/list' : '{/prefix}media/list?{?}&id=' . \reset($media)->getId() . '&ptype=p';
|
||||
|
|
|
|||
|
|
@ -25,6 +25,10 @@ $view = $this->getData('view');
|
|||
/** @var \Modules\Tag\Models\Tag[] $tag */
|
||||
$tags = $media->getTags();
|
||||
|
||||
/** @var \Modules\Admin\Models\Account $account */
|
||||
$account = $this->getData('account');
|
||||
$accountDir = $account->getId() . ' ' . $account->login;
|
||||
|
||||
$mediaPath = \urldecode($media->getVirtualPath() ?? '/');
|
||||
|
||||
/** @var \phpOMS\Message\Http\HttpRequest $this->request */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user