Skip to content

Commit

Permalink
Initialize application variable
Browse files Browse the repository at this point in the history
  • Loading branch information
AW3i committed May 17, 2017
1 parent 1538ade commit 2c76c0d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,8 @@ protected function getRoleSets()
*/
protected function addRole($groupName, $name)
{
$application = RequestHandler::getApplicationContext();

if ($this->setsMap->exists($groupName) === false) {
$group = new SimpleGroup(new String($groupName));
$this->setsMap->add($groupName, $group);
Expand Down

0 comments on commit 2c76c0d

Please sign in to comment.