Check that release exists before retagging it. Closes #998

This commit is contained in:
DariusIII
2019-10-15 22:09:15 +02:00
parent 5ce17be64f
commit 283bf234f1
+3 -1
View File
@@ -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++;
}