mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-24 06:14:26 +02:00
Db: pgsql
This commit is contained in:
parent
e7dbeef21c
commit
a412a9fec2
@ -26,6 +26,10 @@ class Db extends DbConnection
|
||||
|
||||
public function fetchActivityLogEntry($checksum)
|
||||
{
|
||||
if ($this->getDbType() === 'pgsql') {
|
||||
$checksum = Util::pgBinEscape($checksum);
|
||||
}
|
||||
|
||||
$sql = 'SELECT * FROM director_activity_log WHERE checksum = ?';
|
||||
|
||||
return $this->db()->fetchRow($sql, $checksum);
|
||||
|
Loading…
x
Reference in New Issue
Block a user