From 380fb0afe9e64abb7c22488859e4bdc5cb50e443 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Mon, 10 Oct 2016 19:15:34 +0000 Subject: [PATCH] GroupMembershipCache: add missing property fixes #12884 --- library/Director/Db/Cache/GroupMembershipCache.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/library/Director/Db/Cache/GroupMembershipCache.php b/library/Director/Db/Cache/GroupMembershipCache.php index 5f5d0b50..2154de29 100644 --- a/library/Director/Db/Cache/GroupMembershipCache.php +++ b/library/Director/Db/Cache/GroupMembershipCache.php @@ -15,6 +15,8 @@ class GroupMembershipCache protected $memberships; + protected $membershipsById; + /** @var Db Director database connection */ protected $connection; @@ -33,7 +35,7 @@ class GroupMembershipCache protected function loadAllMemberships() { $db = $this->connection->getDbAdapter(); - $this->memberships = array(); + $this->memberships = $this->membershipsById = array(); $type = $this->type; $table = $this->table;