fix
This commit is contained in:
parent
80ceff2db0
commit
650701e5bd
@ -209,7 +209,6 @@ class Package extends ActiveRecord
|
||||
// fetch bower.json
|
||||
$this->bower = json_decode(Git::getFile($this->url, 'bower.json'), true);
|
||||
if ($this->bower) {
|
||||
$this->bower = json_decode($this->bower, true);
|
||||
// set fields from bower
|
||||
if (isset($this->bower['description'])) {
|
||||
$this->description = substr($this->bower['description'], 0, 140);
|
||||
|
Loading…
x
Reference in New Issue
Block a user