mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-09-26 03:19:05 +02:00
#12533 send events groupid widget
This commit is contained in:
parent
e7ad23c477
commit
f50dade117
@ -581,6 +581,12 @@ class EventsListWidget extends Widget
|
||||
$customFilter = \events_get_event_filter($this->values['customFilter']);
|
||||
if ($customFilter !== false) {
|
||||
$filter = $customFilter;
|
||||
if (in_array('0', $this->values['groupId'])) {
|
||||
$filter['id_group_filter'] = 0;
|
||||
} else {
|
||||
$filter['id_group_filter'] = $this->values['groupId'];
|
||||
}
|
||||
|
||||
$filter['tag_with'] = base64_encode(
|
||||
io_safe_output($filter['tag_with'])
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user