Fixed BadMethodException in GPM updates #1784

This commit is contained in:
Andy Miller
2017-12-15 15:12:26 -07:00
parent 21674194e0
commit b6e5bfa7f3
2 changed files with 3 additions and 1 deletions

View File

@@ -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

View File

@@ -35,7 +35,7 @@ class Package {
}
public function __set($key, $value) {
throw new \BadMethodCallException('Not Implemented');
$this->data->set($key, $value);
}
public function __toString() {