fixed fast create

This commit is contained in:
vedatakd 2021-06-23 09:50:23 +03:00
parent bb150fabb4
commit afda1893d1

View File

@ -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()