1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-01-23 12:29:58 +01:00

Fix minore

This commit is contained in:
valentina 2024-06-13 14:46:17 +02:00
parent 4cd7fa2ba6
commit 01229641c4

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.'));