mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 06:46:08 -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
|
class ProfileModel extends ProfileProfileEntryModel implements ProfileInterface
|
||||||
{
|
{
|
||||||
|
|
||||||
public function getProfile($id = null)
|
public function getProfile($id = null)
|
||||||
{
|
{
|
||||||
if($id != null)
|
if($id != null) {
|
||||||
{
|
return $this->query()->where('user_id', $id);
|
||||||
return $this->query()->where('user_id',$id);
|
|
||||||
}
|
}
|
||||||
return $this->query();
|
return $this->query();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user