2010-02-18 Miguel de Dios <miguel.dedios@artica.es>

* godmode/agentes/configurar_agente.php:  fix the date to save into DB.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2380 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2010-02-18 18:14:02 +00:00
parent efc6f3acd7
commit aae4dd1fb6
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2010-02-18 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/configurar_agente.php: fix the date to save into DB.
2010-02-18 Miguel de Dios <miguel.dedios@artica.es>
* operation/gis_maps/render_view.php: change to use new tables.

View File

@ -693,7 +693,7 @@ if ($updateGIS) {
"latitude" => $previusAgentGISData['stored_latitude'],
"altitude" => $previusAgentGISData['stored_altitude'],
"start_timestamp" => $previusAgentGISData['start_timestamp'],
"end_timestamp" => time(),
"end_timestamp" => date( 'Y-m-d H:i:s'),
"description" => "Save by Pandora Console",
"manual_placement" => $previusAgentGISData['manual_placement'],
"number_of_packages" => $previusAgentGISData['number_of_packages'],
@ -707,7 +707,7 @@ if ($updateGIS) {
"stored_longitude" => $lastLongitude,
"stored_latitude" => $lastLatitude,
"stored_altitude" => $lastAltitude,
"start_timestamp" => time(),
"start_timestamp" => date( 'Y-m-d H:i:s'),
"manual_placement" => 1,
"description" => "Update by Pandora Console"),
array("tagente_id_agente" => $idAgente));