Фикс 404
This commit is contained in:
@@ -96,9 +96,9 @@ class IniFile
|
||||
protected function initPlaylist(string $code, array|false $data): array
|
||||
{
|
||||
if ($data === false) {
|
||||
$raw = $this->playlists[$code];
|
||||
empty($raw) && throw new PlaylistNotFoundException($code);
|
||||
$data === false && $data = [
|
||||
$raw = $this->playlists[$code]
|
||||
?? throw new PlaylistNotFoundException($code);
|
||||
$data = [
|
||||
'code' => $code,
|
||||
'name' => $raw['name'] ?? "Плейлист #$code",
|
||||
'description' => $raw['desc'] ?? null,
|
||||
|
||||
Reference in New Issue
Block a user