Merge branch 'master' of https://github.com/devcode-it/openstamanager
This commit is contained in:
commit
4fb410e533
|
@ -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