mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Rename $match and variations to $hit for PHP 8 compatibility
This commit is contained in:
@@ -110,8 +110,8 @@ class AnimeController extends BasePageController
|
||||
if (preg_match('/^[0-9]/', $s->title)) {
|
||||
$thisrange = '0-9';
|
||||
} else {
|
||||
preg_match('/([A-Z]).*/i', $s->title, $matches);
|
||||
$thisrange = strtoupper($matches[1]);
|
||||
preg_match('/([A-Z]).*/i', $s->title, $hits);
|
||||
$thisrange = strtoupper($hits[1]);
|
||||
}
|
||||
$animelist[$thisrange][] = $s;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user