Changed ' to " in sql query

pull/634/head
TimZ99 2018-09-03 15:36:27 +02:00
parent 878b256698
commit fac24b61b5
No known key found for this signature in database
GPG Key ID: 4D8268DC68E8339D
1 changed files with 2 additions and 2 deletions

View File

@ -179,8 +179,8 @@ class HistoryGraph {
} }
$records = $this->db->execute( $records = $this->db->execute(
'SELECT * "SELECT *
FROM `'.PSM_DB_PREFIX."servers_$type` FROM `".PSM_DB_PREFIX."servers_$type`
WHERE `server_id` = :server_id AND `date` BETWEEN :start_time AND :end_time ORDER BY `date` ASC", WHERE `server_id` = :server_id AND `date` BETWEEN :start_time AND :end_time ORDER BY `date` ASC",
array( array(
'server_id' => $server_id, 'server_id' => $server_id,