Fix minore

This commit is contained in:
valentina 2024-08-01 15:39:27 +02:00
parent 7b91ee0efe
commit a243c063a7
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,
]));