From 09cc3bfd0a67eea5a8e2b670c23be51c1f0d7299 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 5 Apr 2020 07:11:47 +0000 Subject: [PATCH] Some more code standards --- include/conversation.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/conversation.php b/include/conversation.php index 1a93d119f4..ad2dd55ded 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -189,12 +189,12 @@ function localize_item(&$item) $txt = DI::l10n()->t('%1$s poked %2$s'); // now translate the verb - $poked_t = trim(sprintf($txt, "", "")); + $poked_t = trim(sprintf($txt, '', '')); $txt = str_replace($poked_t, DI::l10n()->t($verb), $txt); // then do the sprintf on the translation string - $item['body'] = sprintf($txt, $A, $B). "\n\n\n" . $Bphoto; + $item['body'] = sprintf($txt, $A, $B) . "\n\n\n" . $Bphoto; }