diff options
-rw-r--r-- | apps/sharebymail/lib/ShareByMailProvider.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/sharebymail/lib/ShareByMailProvider.php b/apps/sharebymail/lib/ShareByMailProvider.php index f2c68f9376d..0b959ce4265 100644 --- a/apps/sharebymail/lib/ShareByMailProvider.php +++ b/apps/sharebymail/lib/ShareByMailProvider.php @@ -272,9 +272,10 @@ class ShareByMailProvider implements IShareProvider { $text= $this->l->t('%s shared »%s« with you on behalf of %s.', [$ownerDisplayName, $filename, $initiator]); } - $text .= ' ' . $this->l->t('Click the button below to open it.'); - - $emailTemplate->addBodyText($text); + $emailTemplate->addBodyText( + $text . ' ' . $this->l->t('Click the button below to open it.'), + $text + ); $emailTemplate->addBodyButton( $this->l->t('Open »%s«', [$filename]), |