mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-04 23:36:44 +02:00
fix: typo in EpisodeController remap function to get episode
- fix defaultValue being empty string when cast as array - fix initial styles for select to reduce content layout shift
This commit is contained in:
parent
7e8f0003d1
commit
f288a750f5
9 changed files with 25 additions and 28 deletions
|
|
@ -48,7 +48,7 @@ class EpisodeController extends BaseController
|
|||
}
|
||||
|
||||
if (
|
||||
! ($episode = (new EpisodeModel())->getEpisodeById((int) $params[1]) instanceof Episode)
|
||||
! ($episode = (new EpisodeModel())->getEpisodeById((int) $params[1])) instanceof Episode
|
||||
) {
|
||||
throw PageNotFoundException::forPageNotFound();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue