diff --git a/addons/default/visiosoft/profile-module/src/Profile/ProfileModel.php b/addons/default/visiosoft/profile-module/src/Profile/ProfileModel.php index fd6ad8370..c1a0762c9 100644 --- a/addons/default/visiosoft/profile-module/src/Profile/ProfileModel.php +++ b/addons/default/visiosoft/profile-module/src/Profile/ProfileModel.php @@ -5,12 +5,10 @@ use Anomaly\Streams\Platform\Model\Profile\ProfileProfileEntryModel; class ProfileModel extends ProfileProfileEntryModel implements ProfileInterface { - public function getProfile($id = null) { - if($id != null) - { - return $this->query()->where('user_id',$id); + if($id != null) { + return $this->query()->where('user_id', $id); } return $this->query(); }