diff options
author | Nicolas SIMIDE <2083596+dems54@users.noreply.github.com> | 2021-01-27 22:33:02 +0100 |
---|---|---|
committer | Nicolas SIMIDE <2083596+dems54@users.noreply.github.com> | 2021-01-28 15:57:29 +0100 |
commit | 69bf0c8a9e5eb66d2509e019631465f1db0a2a9a (patch) | |
tree | d35d571b0097453d9c5212981dee3cdcb2f3239e /apps/sharebymail/lib | |
parent | 1427a9a361d9e8881872cda2bc9e10bd34bb83a0 (diff) | |
download | nextcloud-server-69bf0c8a9e5eb66d2509e019631465f1db0a2a9a.tar.gz nextcloud-server-69bf0c8a9e5eb66d2509e019631465f1db0a2a9a.zip |
ReplyTo option for sharebymail - Issue #24139 - Little bug fix
Signed-off-by: Nicolas SIMIDE <2083596+dems54@users.noreply.github.com>
Diffstat (limited to 'apps/sharebymail/lib')
-rw-r--r-- | apps/sharebymail/lib/Settings/SettingsManager.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/sharebymail/lib/Settings/SettingsManager.php b/apps/sharebymail/lib/Settings/SettingsManager.php index 8e4ab4de038..6a3183b23bd 100644 --- a/apps/sharebymail/lib/Settings/SettingsManager.php +++ b/apps/sharebymail/lib/Settings/SettingsManager.php @@ -70,6 +70,7 @@ class SettingsManager { * @return bool */ public function replyToInitiator(): bool { - return $this->config->getAppValue('sharebymail', 'replyToInitiator', $this->replyToInitiatorDefault); + $replyToInitiator = $this->config->getAppValue('sharebymail', 'replyToInitiator', $this->replyToInitiatorDefault); + return $replyToInitiator === 'yes'; } } |