Changed name of variable filter in menu

This commit is contained in:
Tatiana Llorente 2019-11-05 11:20:57 +01:00
parent b409dde9c0
commit 32f4ad2c4f
1 changed files with 3 additions and 3 deletions

View File

@ -384,10 +384,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,
@ -397,7 +397,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');