Changed ' to " in sql query (#634)

This commit is contained in:
Tim 2018-09-03 15:40:02 +02:00 committed by TimZ99
parent 878b256698
commit 6e528aaf15
No known key found for this signature in database
GPG Key ID: 4D8268DC68E8339D
2 changed files with 3 additions and 2 deletions

View File

@ -5,6 +5,7 @@ Changelog
Not yet released
----------------
* #634: Changed ' to " in sql query, both were used.
* #629: Fix bug that made it impossible to check rdp:// and fixed port update.
* b49659f: Added question to notification faq about not recieving notifications.
* ef28908: Indentation fix.

View File

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