Fix minore

This commit is contained in:
valentina 2024-06-13 14:46:17 +02:00
parent 4cd7fa2ba6
commit 01229641c4
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ switch (filter('op')) {
$query = html_entity_decode($query);
}
$lista_new = Lista::where('id', '=', (new Lista())->getByField('title', $name))->orWhere('name', $name)->where('id', '!=', $id_record)->first();
$lista_new = Lista::where('id', '=', (new Lista())->getByField('title', $name))->where('id', '!=', $id_record)->first();
if (!empty($lista_new)) {
flash()->error(tr('Esiste già una lista con questo nome.'));