mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-02 11:18:56 +00:00
Fix adding new collection regexes
This commit is contained in:
@@ -77,7 +77,7 @@ class CollectionRegexesController extends BasePageController
|
||||
break;
|
||||
}
|
||||
|
||||
if ($request->input('id') === '') {
|
||||
if (empty($request->input('id'))) {
|
||||
$regexes->addRegex($request->all());
|
||||
} else {
|
||||
$regexes->updateRegex($request->all());
|
||||
|
||||
Reference in New Issue
Block a user