mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 23:06:08 -06:00
#671 fixed return problem
This commit is contained in:
parent
6943b01dde
commit
468aec8ca5
@ -65,7 +65,7 @@ class AdvModel extends AdvsAdvsEntryModel implements AdvInterface
|
|||||||
if ($nullable_ad)
|
if ($nullable_ad)
|
||||||
return $this->find($id);
|
return $this->find($id);
|
||||||
else
|
else
|
||||||
$this->where('advs_advs.slug', '!=', "")
|
return $this->where('advs_advs.slug', '!=', "")
|
||||||
->find($id);
|
->find($id);
|
||||||
}
|
}
|
||||||
if ($nullable_ad)
|
if ($nullable_ad)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user