From 01229641c469616b53a8fd1f7f75d99c360d5c12 Mon Sep 17 00:00:00 2001 From: valentina Date: Thu, 13 Jun 2024 14:46:17 +0200 Subject: [PATCH] Fix minore --- modules/liste_newsletter/actions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/liste_newsletter/actions.php b/modules/liste_newsletter/actions.php index bb8bfb393..76e195981 100755 --- a/modules/liste_newsletter/actions.php +++ b/modules/liste_newsletter/actions.php @@ -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.'));