GroupMembershipCache: add missing property

fixes #12884
This commit is contained in:
Thomas Gelf 2016-10-10 19:15:34 +00:00
parent df36071c9c
commit 380fb0afe9
1 changed files with 3 additions and 1 deletions

View File

@ -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;