From a243c063a79c1677805aea6577a2ce49c20228dd Mon Sep 17 00:00:00 2001 From: valentina Date: Thu, 1 Aug 2024 15:39:27 +0200 Subject: [PATCH] Fix minore --- modules/tags/actions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/tags/actions.php b/modules/tags/actions.php index 77d142b1b..9cddb3922 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, ]));