Fix minore
This commit is contained in:
parent
7b91ee0efe
commit
a243c063a7
|
@ -40,7 +40,7 @@ switch (post('op')) {
|
||||||
$nome = post('name');
|
$nome = post('name');
|
||||||
$tag_new = $dbo->fetchOne('SELECT * FROM `in_tags` WHERE `in_tags`.`name`='.prepare($nome));
|
$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!', [
|
flash()->error(tr('Tag _NAME_ già esistente!', [
|
||||||
'_NAME_' => $nome,
|
'_NAME_' => $nome,
|
||||||
]));
|
]));
|
||||||
|
|
Loading…
Reference in New Issue