Skip to content

Commit

Permalink
Fixed BadMethodException in GPM updates #1784
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Dec 15, 2017
1 parent 2167419 commit b6e5bfa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* Added `theme_var` and `body_class` Twig functions that are useful for themes
1. [](#improved)
* Updated vendor libraries to latest version
1. [](#bugfix)
* Fixed `BadMethodCallException` thrown in GPM updates [#1784](https://github.com/getgrav/grav/issues/1784)

# v1.4.0-beta.1
## 12/11/2017
Expand Down
2 changes: 1 addition & 1 deletion system/src/Grav/Common/GPM/Common/Package.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function __isset($key) {
}

public function __set($key, $value) {
throw new \BadMethodCallException('Not Implemented');
$this->data->set($key, $value);
}

public function __toString() {
Expand Down

0 comments on commit b6e5bfa

Please sign in to comment.