#8146 Fixed max hours

This commit is contained in:
Daniel Maya 2021-10-27 09:18:28 +02:00
parent 945392b615
commit 3b49b28d9e
1 changed files with 1 additions and 3 deletions

View File

@ -519,8 +519,6 @@ class EventsListWidget extends Widget
}
}
$hours = ($this->values['maxHours'] * SECONDS_1HOUR);
// Put hours in seconds.
$filter = [];
$order = [];
@ -546,7 +544,7 @@ class EventsListWidget extends Widget
}
} else {
// Filtering.
$filter['event_view_hr'] = $hours;
$filter['event_view_hr'] = $this->values['maxHours'];
// Group.
$filter['id_group_filter'] = $this->values['groupId'];