Skip to content

Commit e5d8044

Browse files
committed
[Auth] Fixes: login-info.phtml causes endless loop.
1 parent 73b865b commit e5d8044

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

module/Auth/view/auth/index/login-info.phtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@
4141
if (!$org) {
4242
echo $this->translate('Create my organization');
4343
} else {
44-
echo sprintf($this->translate('Edit "%s"'), $org->getOrganizationName()->getName());
44+
$orgName = $org->getOrganizationName();
45+
echo sprintf($this->translate('Edit "%s"'), $orgName ? $orgName->getName() : '<unnamed organization>');
4546
}
4647

4748

0 commit comments

Comments
 (0)