Merge branch 'ent-4917-Pete-SQL-al-añadir-un-dia-especial-a-la-lista-de-dias-especiales' into 'develop'
Ent 4917 pete sql al añadir un dia especial a la lista de dias especiales See merge request artica/pandorafms!2861
This commit is contained in:
commit
f4372bb766
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue