This commit is contained in:
Luca 2024-08-01 15:40:24 +02:00
commit 4fb410e533
1 changed files with 1 additions and 1 deletions

View File

@ -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,
]));