]> git.mxchange.org Git - friendica.git/blobdiff - src/Util/Temporal.php
Fix last reference of replaced variable $owner_nick in Protocol\Feed::atom()
[friendica.git] / src / Util / Temporal.php
index cc6a078fe176020c87620bf0e33e0f2ad258ad6e..3946550628865706d88d5e5e85f41ea7656470b1 100644 (file)
@@ -238,7 +238,7 @@ class Temporal
                bool $required = false): string
        {
                // First day of the week (0 = Sunday)
-               $firstDay = DI::pConfig()->get(local_user(), 'system', 'first_day_of_week', 0);
+               $firstDay = DI::pConfig()->get(DI::userSession()->getLocalUserId(), 'system', 'first_day_of_week', 0);
 
                $lang = substr(DI::l10n()->getCurrentLang(), 0, 2);