diff --git a/lib/Core/EpisodeAction/EpisodeActionReader.php b/lib/Core/EpisodeAction/EpisodeActionReader.php index a7a3099..5410996 100644 --- a/lib/Core/EpisodeAction/EpisodeActionReader.php +++ b/lib/Core/EpisodeAction/EpisodeActionReader.php @@ -73,7 +73,9 @@ class EpisodeActionReader extends CoreEpisodeActionReader if (!isset($image)) { preg_match('/stringOrNull($matches[1]); + if (count($matches) > 1) { + $image = $this->stringOrNull($matches[1]); + } } // Get episode description