mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
Fixed problem with search between dates. No select correct data. Tickets #1767
This commit is contained in:
parent
1aebacf6da
commit
c21f16f923
@ -182,8 +182,8 @@ if ($get_module_detail) {
|
|||||||
$period = $period;
|
$period = $period;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$date = $datetime_from;
|
|
||||||
$period = $datetime_to - $datetime_from;
|
$period = $datetime_to - $datetime_from;
|
||||||
|
$date = $datetime_from + $period;
|
||||||
}
|
}
|
||||||
|
|
||||||
$count = modules_get_agentmodule_data ($module_id, $period,
|
$count = modules_get_agentmodule_data ($module_id, $period,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user