diff --git a/modules/tags/actions.php b/modules/tags/actions.php index a67937f5b..1c8433f05 100644 --- a/modules/tags/actions.php +++ b/modules/tags/actions.php @@ -40,7 +40,7 @@ switch (post('op')) { $nome = post('name'); $tag_new = $dbo->fetchOne('SELECT * FROM `in_tags` WHERE `in_tags`.`name`='.prepare($nome)); - if (!empty($tag_new) && $tag_new['id'] != $id_record) { + if (!empty($tag_new)) { flash()->error(tr('Tag _NAME_ giĆ  esistente!', [ '_NAME_' => $nome, ]));