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