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