#12598 Fixed event filter deleted and assigned as favorite

This commit is contained in:
Jorge Rincon 2023-12-04 15:12:33 +01:00
parent 868598b1b2
commit 706540f947
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;
}
}