From 15d09132268299c4572fcdec86bfe4ba60d5664e Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Sat, 4 May 2019 21:25:16 +0200 Subject: [PATCH] fix quotes --- src/Module/Invite.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Module/Invite.php b/src/Module/Invite.php index 88238909a4..7860c703c1 100644 --- a/src/Module/Invite.php +++ b/src/Module/Invite.php @@ -38,7 +38,7 @@ class Invite extends BaseModule } - $recipients = !empty($_POST['recipients']) ? explode('\n', $_POST['recipients']) : []; + $recipients = !empty($_POST['recipients']) ? explode("\n", $_POST['recipients']) : []; $message = !empty($_POST['message']) ? Strings::escapeTags(trim($_POST['message'])) : ''; $total = 0; @@ -101,7 +101,7 @@ class Invite extends BaseModule } } - notice(L10n::tt("%d message sent.", "%d messages sent.", $total) . EOL); + notice(L10n::tt('%d message sent.', '%d messages sent.', $total) . EOL); } public static function content() @@ -142,7 +142,7 @@ class Invite extends BaseModule $tpl = Renderer::getMarkupTemplate('invite.tpl'); return Renderer::replaceMacros($tpl, [ - '$form_security_token' => self::getFormSecurityToken("send_invite"), + '$form_security_token' => self::getFormSecurityToken('send_invite'), '$title' => L10n::t('Send invitations'), '$recipients' => ['recipients', L10n::t('Enter email addresses, one per line:')], '$message' => [ -- 2.39.5