Merge pull request #1103 from openclassify/vedatakdogan

fixed
This commit is contained in:
Dia Shalabi 2021-06-25 12:23:11 +03:00 committed by GitHub
commit e6d6444911
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

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

View File

@ -83,7 +83,8 @@
"wikimedia/composer-merge-plugin": "2.*",
"pusher/pusher-php-server": "^5.0",
"simplepie/simplepie": "^1.5.0",
"guzzlehttp/guzzle": "^7.3"
"guzzlehttp/guzzle": "^7.3",
"visiosoft/connect-module": "^1.0"
},
"replace": {
"anomaly/streams-platform": "*"