Skip to content

Commit 014a601

Browse files
committed
fixed frontend login page
1 parent c0ad93a commit 014a601

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/base/models/GuestUser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ public function getUpdatedAt(): DateTime
195195
*/
196196
public function getLocale(): string
197197
{
198-
return $this->getSiteData()->getDefaultLocale();
198+
return App::getInstance()->getSiteData()->getDefaultLocale();
199199
}
200200

201201
/**

0 commit comments

Comments
 (0)