]> git.mxchange.org Git - friendica.git/commitdiff
Add missing return statement in Core\L10n
authorHypolite Petovan <hypolite@mrpetovan.com>
Mon, 30 Dec 2019 03:47:32 +0000 (22:47 -0500)
committerGitHub <noreply@github.com>
Mon, 30 Dec 2019 03:47:32 +0000 (22:47 -0500)
- Addresses https://github.com/friendica/friendica/issues/7998#issuecomment-569560492

src/Core/L10n.php

index d1a6204ef3262e7b0fdd9b3f90ba984c569a8250..82f02b83d536dfa63b22d38e88d7fa66f0b63653 100644 (file)
@@ -32,7 +32,7 @@ class L10n
         */
        public static function withLang(string $lang)
        {
-               DI::l10n()->withLang($lang);
+               return DI::l10n()->withLang($lang);
        }
 
        /**