syntax error
Signed-off-by: dartcafe <github@dartcafe.de>
This commit is contained in:
Родитель
c6c511d3e0
Коммит
882445bc86
|
@ -101,7 +101,7 @@ class AppSettings implements JsonSerializable {
|
|||
// Checks
|
||||
public function getPollCreationAllowed(): bool {
|
||||
if ($this->session->isLoggedIn()) {
|
||||
return $this->getBooleanSetting(self::SETTING_ALLOW_POLL_CREATION) || $this->isMember($this->$this->getGroupSetting(self::SETTING_POLL_CREATION_GROUPS));
|
||||
return $this->getBooleanSetting(self::SETTING_ALLOW_POLL_CREATION) || $this->isMember($this->getGroupSetting(self::SETTING_POLL_CREATION_GROUPS));
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче