]> git.mxchange.org Git - friendica.git/commitdiff
Some more code standards
authorMichael <heluecht@pirati.ca>
Sun, 5 Apr 2020 07:11:47 +0000 (07:11 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 5 Apr 2020 07:11:47 +0000 (07:11 +0000)
include/conversation.php

index 1a93d119f4ed464e37ab129a7e7acb7b75bbf486..ad2dd55ded870689bec0c53d959bb3836bac40ce 100644 (file)
@@ -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;
 
                }