mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
#718 Netgsm error when posting ad
This commit is contained in:
parent
c55092c21e
commit
d2e8c0b32d
@ -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();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user