mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-02 19:28:55 +00:00
Fix preMatch function return values
This commit is contained in:
@@ -2300,6 +2300,6 @@ class NameFixer
|
||||
{
|
||||
$result = preg_match('/(\d{2}\.\d{2}\.\d{2})+[\w\-.]+[\w]$/i', $fileName, $match);
|
||||
|
||||
return [$result === 1, $match[0]];
|
||||
return [$result === 1, $match[0] ?? ''];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user