All in GraphQL #34
@ -1,5 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
## Version 5.1
|
||||
* Added session check, so when coming back to a page, if the session is expired, the page will refresh.
|
||||
* Updated logging config so that much fewer, much smaller files are generated.
|
||||
|
||||
## Version 5
|
||||
* Updated PHP requirement to 7.4
|
||||
* Added anime watching history view
|
||||
|
@ -26,7 +26,7 @@
|
||||
</head>
|
||||
<body class="<?= $escape->attr($url_type) ?> list">
|
||||
<?php include 'setup-check.php' ?>
|
||||
<header tabindex="0">
|
||||
<header>
|
||||
<?php
|
||||
include 'main-menu.php';
|
||||
if(isset($message) && is_array($message))
|
||||
|
@ -55,7 +55,7 @@ use Aviat\AnimeClient\API\Kitsu;
|
||||
$character = $component->character(
|
||||
$item['character']['canonicalName'],
|
||||
$url->generate('character', ['slug' => $item['character']['slug']]),
|
||||
$helper->picture(getLocalImg($item['character']['image']['original']))
|
||||
$helper->picture(getLocalImg($item['character']['image']['original'] ?? null))
|
||||
);
|
||||
$medias = [];
|
||||
foreach ($item['media'] as $sid => $series)
|
||||
|
@ -119,7 +119,7 @@ final class Kitsu {
|
||||
break;
|
||||
|
||||
default:
|
||||
continue 2;
|
||||
// Do Nothing
|
||||
}
|
||||
}
|
||||
|
||||
@ -328,7 +328,7 @@ final class Kitsu {
|
||||
}
|
||||
}
|
||||
|
||||
// Don't return the canonical titles
|
||||
// Don't return the canonical title
|
||||
array_shift($valid);
|
||||
|
||||
return $valid;
|
||||
@ -356,7 +356,7 @@ final class Kitsu {
|
||||
}
|
||||
}
|
||||
|
||||
// Don't return the canonical titles
|
||||
// Don't return the canonical title
|
||||
array_shift($valid);
|
||||
|
||||
return $valid;
|
||||
|
Loading…
Reference in New Issue
Block a user