fixed little errors

This commit is contained in:
Bastian Schroll 2015-04-11 20:28:07 +02:00
parent 67103eb0b5
commit 84892c09e0
2 changed files with 1 additions and 3 deletions

View file

@ -307,8 +307,6 @@ try:
log("HTTP response: "+str(httpresponse.status)+" - "+str(httpresponse.reason))
else:
log("HTTP response: "+str(httpresponse.status)+" - "+str(httpresponse.reason),"error")
except:
log("ZVEI to HTTP failed","error")
except:
log("ZVEI to HTTP failed","error")
else:

View file

@ -1,6 +1,6 @@
<?php
//read FMS
$db->query("SELECT id, time, service, country, location, vehicle, status, direction, tsi FROM ".$tableFMS." ORDER BY id DESC LIMIT 50");
$db->query("SELECT id, time, fms, status, direction, tsi FROM ".$tableFMS." ORDER BY id DESC LIMIT 50");
$Rows = array();
while ($daten = $db->fetchAssoc())
{