mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Check that release exists before retagging it. Closes #998
This commit is contained in:
@@ -102,7 +102,9 @@ function categorizeRelease($where, $update = true, $echoOutput = false)
|
||||
)
|
||||
);
|
||||
$release = Release::find($rowRel->id);
|
||||
$release->retag($catId['tags']);
|
||||
if (! empty($release)) {
|
||||
$release->retag($catId['tags']);
|
||||
}
|
||||
}
|
||||
$chgCount++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user