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…
Reference in New Issue