mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -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)
|
||||
return $this->find($id);
|
||||
else
|
||||
$this->where('advs_advs.slug', '!=', "")
|
||||
return $this->where('advs_advs.slug', '!=', "")
|
||||
->find($id);
|
||||
}
|
||||
if ($nullable_ad)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user