From 8a2a4510ec956a1a420ad339524f3e2f695bf452 Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Mon, 19 Mar 2018 10:15:09 +0100 Subject: [PATCH] Small fixes to translatable string and some small cosmetic fixup to docstring for `notification()` --- include/enotify.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/enotify.php b/include/enotify.php index c877540ab..e0629a53e 100644 --- a/include/enotify.php +++ b/include/enotify.php @@ -18,10 +18,10 @@ require_once 'include/html2bbcode.php'; * @brief Creates a notification entry and possibly sends a mail * * @param array $params Array with the elements: - uid, item, parent, type, otype, verb, event, - link, subject, body, to_name, to_email, source_name, - source_link, activity, preamble, notify_flags, - language, show_in_notification_page + * uid, item, parent, type, otype, verb, event, + * link, subject, body, to_name, to_email, source_name, + * source_link, activity, preamble, notify_flags, + * language, show_in_notification_page */ function notification($params) { @@ -370,7 +370,7 @@ function notification($params) '[url='.$params['source_link'].']'.$params['source_name'].'[/url]' ); - $body = L10n::t('Full Name: %1$s\nSite Location: %2$s\nLogin Name: %3$s ' . "\x28" . '%4$s' . "\x28", + $body = L10n::t('Full Name: %1$s\nSite Location: %2$s\nLogin Name: %3$s ' . "\x28" . '%4$s' . "\x29", $params['source_name'], $siteurl, $params['source_mail'], $params['source_nick']