From 84892c09e09d4a4a733d9ed1f361181203725580 Mon Sep 17 00:00:00 2001 From: Bastian Schroll Date: Sat, 11 Apr 2015 20:28:07 +0200 Subject: [PATCH] fixed little errors --- boswatch.py | 2 -- www/tpl/content.overview.php | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/boswatch.py b/boswatch.py index ff20a6d..0b5ed13 100644 --- a/boswatch.py +++ b/boswatch.py @@ -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: diff --git a/www/tpl/content.overview.php b/www/tpl/content.overview.php index ca622b9..8d2f141 100644 --- a/www/tpl/content.overview.php +++ b/www/tpl/content.overview.php @@ -1,6 +1,6 @@ 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()) {