mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 12:07:23 +08:00
fix can not remove all tags
This commit is contained in:
+1
-3
@@ -224,9 +224,7 @@ if (!empty($_POST['custom_fields'])) {
|
||||
* @since v1.6
|
||||
*/
|
||||
$tagIdArr = array_filter($_POST['tags'] ?? []);
|
||||
if (!empty($tagIdArr)) {
|
||||
insert_torrent_tags($id, $tagIdArr, true);
|
||||
}
|
||||
insert_torrent_tags($id, $tagIdArr, true);
|
||||
|
||||
if($CURUSER["id"] == $row["owner"])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user