Fixed problem with search between dates. No select correct data. Tickets #1767

This commit is contained in:
m-lopez-f 2015-02-06 16:11:21 +01:00
parent 1aebacf6da
commit c21f16f923
1 changed files with 1 additions and 1 deletions

View File

@ -182,8 +182,8 @@ if ($get_module_detail) {
$period = $period;
}
else {
$date = $datetime_from;
$period = $datetime_to - $datetime_from;
$date = $datetime_from + $period;
}
$count = modules_get_agentmodule_data ($module_id, $period,