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:
@@ -126,8 +126,8 @@ class SeriesController 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]);
|
||||
}
|
||||
$serieslist[$thisrange][] = $s;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user