From 765ef97c8095549678d701e9388f2ca07ecc7274 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Wed, 2 Mar 2016 23:53:19 +0100 Subject: [PATCH] IcingaConfig: fix related activity for PostgreSQL --- library/Director/IcingaConfig/IcingaConfig.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Director/IcingaConfig/IcingaConfig.php b/library/Director/IcingaConfig/IcingaConfig.php index 04405e0e..1e3ad3e3 100644 --- a/library/Director/IcingaConfig/IcingaConfig.php +++ b/library/Director/IcingaConfig/IcingaConfig.php @@ -585,7 +585,7 @@ class IcingaConfig if ($this->lastActivityChecksum === null) { $query = $this->db->select() ->from('director_activity_log', 'checksum') - ->order('change_time DESC') + ->order('id DESC') ->limit(1); $this->lastActivityChecksum = $this->db->fetchOne($query);