From d8ea335faef620f5e5ed993994f6bbbe9392158d Mon Sep 17 00:00:00 2001 From: DariusIII Date: Thu, 18 Dec 2025 11:27:13 +0100 Subject: [PATCH] Fix array issue in ReleaseCleaner --- Blacklight/ReleaseCleaning.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Blacklight/ReleaseCleaning.php b/Blacklight/ReleaseCleaning.php index db078522c..58fcdf041 100755 --- a/Blacklight/ReleaseCleaning.php +++ b/Blacklight/ReleaseCleaning.php @@ -162,7 +162,7 @@ class ReleaseCleaning $title = Predb::query()->where(['predb.requestid' => $hit[1], 'g.name' => $reqGname])->join('usenet_groups as g', 'g.id', '=', 'predb.groups_id')->first(['predb.title', 'predb.id']); } // don't match against ab.teevee if title is for just the season - if ($groupName === 'alt.binaries.teevee' && preg_match('/\.S\d\d\./', $title['title'], $hit)) { + if ($title !== null && $groupName === 'alt.binaries.teevee' && preg_match('/\.S\d\d\./', $title['title'], $hit)) { $title = null; } if ($title !== null) {