Skip to content

Commit

Permalink
Merge 6e9d62b into efca22b
Browse files Browse the repository at this point in the history
  • Loading branch information
cbleek committed Oct 18, 2017
2 parents efca22b + 6e9d62b commit 29350a2
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions module/Auth/src/Auth/Entity/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -421,9 +421,12 @@ public function getSettings($module)
}
}

$settings = $this->settingsEntityResolver->getNewSettingsEntity($module);
$this->settings->add($settings);
return $settings;
if ($this->settingsEntityResolver) {
$settings = $this->settingsEntityResolver->getNewSettingsEntity($module);
$this->settings->add($settings);
return $settings;
}

}

/** {@inheritdoc} */
Expand Down

0 comments on commit 29350a2

Please sign in to comment.