From c21f16f923950a4b8d8373eb053441d6937e647c Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Fri, 6 Feb 2015 16:11:21 +0100 Subject: [PATCH] Fixed problem with search between dates. No select correct data. Tickets #1767 --- pandora_console/include/ajax/module.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/ajax/module.php b/pandora_console/include/ajax/module.php index 2671a34288..ce3b8e49f7 100644 --- a/pandora_console/include/ajax/module.php +++ b/pandora_console/include/ajax/module.php @@ -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,