From 9edc002919ccf7f9948a7e8d403078786c66af59 Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Tue, 29 Oct 2013 11:05:31 +0000 Subject: [PATCH] 2013-10-29 Sergio Martin * extensions/insert_data.php: Fix broken insert data feature for incident #331 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8975 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/extensions/insert_data.php | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 373f944fcb..4ccceed410 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2013-10-29 Sergio Martin + + * extensions/insert_data.php: Fix broken insert data + feature for incident #331 + 2013-10-29 Sergio Martin * include/functions_reporting.php: Merge the logic from the diff --git a/pandora_console/extensions/insert_data.php b/pandora_console/extensions/insert_data.php index 6fcf935874..a1491c95ea 100644 --- a/pandora_console/extensions/insert_data.php +++ b/pandora_console/extensions/insert_data.php @@ -89,7 +89,7 @@ function mainInsertData() { $date2 = str_replace('-', '/', $date); $time2 = DATE(TIME_FORMAT, strtotime($time)); - $date_xml = $date2 . ' ' . $time2 . ':00'; + $date_xml = $date2 . ' ' . $time2; $done = 0; $errors = 0; @@ -246,4 +246,4 @@ function mainInsertData() { extensions_add_godmode_function('mainInsertData'); extensions_add_godmode_menu_option(__('Insert Data'), 'AW', 'gagente', null, "v1r1"); -?> \ No newline at end of file +?>