diff --git a/pandora_console/operation/menu.php b/pandora_console/operation/menu.php index dfa52551fc..de7b5a3ae7 100644 --- a/pandora_console/operation/menu.php +++ b/pandora_console/operation/menu.php @@ -386,10 +386,10 @@ if (check_acl($config['id_user'], 0, 'ER') ) ); if ($user_filter !== false) { - $filter = events_get_event_filter($user_filter['id_filter']); + $user_event_filter = events_get_event_filter($user_filter['id_filter']); } else { // Default. - $filter = [ + $user_event_filter = [ 'status' => EVENT_NO_VALIDATED, 'event_view_hr' => $config['event_view_hr'], 'group_rep' => 1, @@ -399,7 +399,7 @@ if (check_acl($config['id_user'], 0, 'ER') ]; } - $fb64 = base64_encode(json_encode($filter)); + $fb64 = base64_encode(json_encode($user_event_filter)); // RSS. $sub['operation/events/events_rss.php?user='.$config['id_user'].'&hashup='.$hashup.'&fb64='.$fb64]['text'] = __('RSS');