Marius Cramer
2015-06-03 3f19613b5ebca832e8f341980278df5f8427c1ca
interface/web/monitor/show_sys_state.php
@@ -191,7 +191,7 @@
   /*
     * Get all monitoring-data from the server and process then
   */
   $records = $app->db->queryAllRecords("SELECT DISTINCT type, data FROM monitor_data WHERE server_id = " . $serverId);
   $records = $app->db->queryAllRecords("SELECT DISTINCT type, data FROM monitor_data WHERE server_id = " . intval($serverId));
   $osData = null;
   $veInfo = null;
   $ispcData = null;
@@ -320,7 +320,7 @@
    * state
   */
   // get the State from the DB
   $record = $app->db->queryOneRecord("SELECT state FROM monitor_data WHERE type = '" . $type . "' and server_id = " . $serverId . " order by created desc");
   $record = $app->db->queryOneRecord("SELECT state FROM monitor_data WHERE type = '" . $app->db->quote($type) . "' and server_id = " . intval($serverId) . " order by created desc");
   // change the new state to the highest state
   /*