Merge branch 'ent-12598-16733-Filtro-de-eventos-borrado-y-asignado-como-favorito-permanece-en-la-seccion' into 'develop'

Ent 12598 16733 filtro de eventos borrado y asignado como favorito permanece en la seccion

See merge request artica/pandorafms!6736
This commit is contained in:
Rafael Ameijeiras 2024-01-19 08:20:47 +00:00
commit 5afa5c36c0
1 changed files with 11 additions and 1 deletions

View File

@ -88,7 +88,17 @@ if ($multiple_delete) {
['id_filter' => $id]
);
if ($result === false) {
if ($result !== false) {
db_process_sql_delete(
'tfavmenu_user',
[
'id_element' => $id,
'section' => 'Events',
'id_user' => $config['id_user'],
]
);
$result = true;
} else {
break;
}
}