mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-25 18:59:05 +02:00
IcingaConfig: pgsql workaround :(
This commit is contained in:
parent
3087776f6b
commit
06935c442d
@ -258,6 +258,11 @@ class IcingaConfig
|
||||
->limit(1);
|
||||
|
||||
$this->lastActivityChecksum = $this->db->fetchOne($query);
|
||||
|
||||
// PgSQL workaround:
|
||||
if (is_resource($this->lastActivityChecksum)) {
|
||||
$this->lastActivityChecksum = stream_get_contents($this->lastActivityChecksum);
|
||||
}
|
||||
}
|
||||
|
||||
return $this->lastActivityChecksum;
|
||||
|
Loading…
x
Reference in New Issue
Block a user