Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas SIMIDE <2083596+dems54@users.noreply.github.com>2021-01-28 00:33:02 +0300
committerNicolas SIMIDE <2083596+dems54@users.noreply.github.com>2021-01-28 17:57:29 +0300
commit69bf0c8a9e5eb66d2509e019631465f1db0a2a9a (patch)
treed35d571b0097453d9c5212981dee3cdcb2f3239e /apps/sharebymail/lib
parent1427a9a361d9e8881872cda2bc9e10bd34bb83a0 (diff)
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.php3
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';
}
}