Skip to content

Commit

Permalink
Fix issue with vUndefined in GPM
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Feb 8, 2019
1 parent 031bfdc commit 48816d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system/src/Grav/Common/GPM/GPM.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public function getUpdatablePlugins()
$repository[$slug]->version = $local_version;
$repository[$slug]->name = $repository[$slug]->name;
$repository[$slug]->type = $repository[$slug]->release_type;
$items[$slug] = $repository[$slug];
$items[$slug] = $repository[$slug]->toArray();
}
}

Expand Down Expand Up @@ -330,7 +330,7 @@ public function getUpdatableThemes()
$repository[$slug]->available = $remote_version;
$repository[$slug]->version = $local_version;
$repository[$slug]->type = $repository[$slug]->release_type;
$items[$slug] = $repository[$slug];
$items[$slug] = $repository[$slug]->toArray();
}
}

Expand Down

1 comment on commit 48816d9

@mahagr
Copy link
Member

@mahagr mahagr commented on 48816d9 Feb 8, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this issue also in develop?

Please sign in to comment.