mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
fixed fast create
This commit is contained in:
parent
bb150fabb4
commit
afda1893d1
@ -28,7 +28,11 @@ class AdvModel extends AdvsAdvsEntryModel implements AdvInterface
|
||||
|
||||
public function getDetailUrlAttribute()
|
||||
{
|
||||
return $this->getAdvDetailLinkByModel($this, 'list');
|
||||
// Checking for slug
|
||||
if($this->attributes)
|
||||
{
|
||||
return $this->getAdvDetailLinkByModel($this, 'list');
|
||||
}
|
||||
}
|
||||
|
||||
public function getCurrencyPriceAttribute()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user