Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

### Fixed

- Fix missing attachment from notification
- Fix missing attachment from notification
- Fix `limit` clause

## [1.8.10] - 2025-12-05

Expand Down
4 changes: 2 additions & 2 deletions inc/helpdeskplus.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ public function reportHbarTopcategory($config = [])

//Init delay value
$delay = PluginMreportingCommon::getCriteriaDate('glpi_tickets.date', $config['delay'], $config['randname']);
$limit = isset($_SESSION['mreporting_values']['glpilist_limit']) ? '0, ' . $_SESSION['mreporting_values']['glpilist_limit'] : '0, 20';
$limit = $_SESSION['mreporting_values']['glpilist_limit'] ?? 20;

$query = [
"SELECT" => [
Expand Down Expand Up @@ -715,7 +715,7 @@ public function reportHbarTopapplicant($config = [])

//Init delay value
$delay = PluginMreportingCommon::getCriteriaDate('glpi_tickets.date', $config['delay'], $config['randname']);
$limit = isset($_SESSION['mreporting_values']['glpilist_limit']) ? '0, ' . $_SESSION['mreporting_values']['glpilist_limit'] : '0, 20';
$limit = $_SESSION['mreporting_values']['glpilist_limit'] ?? 20;

$query = [
"SELECT" => [
Expand Down
Loading