Changed ' to " in sql query (#634)
This commit is contained in:
parent
878b256698
commit
6e528aaf15
|
@ -5,6 +5,7 @@ Changelog
|
||||||
Not yet released
|
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.
|
* #629: Fix bug that made it impossible to check rdp:// and fixed port update.
|
||||||
* b49659f: Added question to notification faq about not recieving notifications.
|
* b49659f: Added question to notification faq about not recieving notifications.
|
||||||
* ef28908: Indentation fix.
|
* ef28908: Indentation fix.
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue