Loading src/Entity/Profile.php +2 −1 Original line number Diff line number Diff line Loading @@ -261,7 +261,8 @@ class Profile extends EditorialContentEntityBase implements ProfileInterface { } // Mark the profile as default if it's being owned by existing // non-anonymous user and there's no other default. if ($this->getOwner() if ($this->getOwnerId() && $this->getOwner() && $this->isPublished() && !$this->isDefault()) { $profile = $storage->loadByUser($this->getOwner(), $this->bundle()); Loading Loading
src/Entity/Profile.php +2 −1 Original line number Diff line number Diff line Loading @@ -261,7 +261,8 @@ class Profile extends EditorialContentEntityBase implements ProfileInterface { } // Mark the profile as default if it's being owned by existing // non-anonymous user and there's no other default. if ($this->getOwner() if ($this->getOwnerId() && $this->getOwner() && $this->isPublished() && !$this->isDefault()) { $profile = $storage->loadByUser($this->getOwner(), $this->bundle()); Loading