tag add mode

This commit is contained in:
xiaomlove
2022-10-30 17:30:24 +08:00
parent 0fe7b2f76f
commit 87a079b392
39 changed files with 164 additions and 76 deletions
+1 -1
View File
@@ -407,7 +407,7 @@ if (!empty($_POST['custom_fields'][$catmod])) {
*
* @since v1.6
*/
$tagIdArr = array_filter($_POST['tags'] ?? []);
$tagIdArr = array_filter($_POST['tags'][$catmod] ?? []);
if (!empty($tagIdArr)) {
insert_torrent_tags($id, $tagIdArr);
}