Rename $match and variations to $hit for PHP 8 compatibility

This commit is contained in:
DariusIII
2020-12-02 10:55:09 +01:00
parent df2fd3328b
commit f3cde99e37
28 changed files with 216 additions and 216 deletions
+2 -2
View File
@@ -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;
}