diff --git a/CHANGELOG.md b/CHANGELOG.md index c08e03f3e..6760ef33f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/system/src/Grav/Common/GPM/Common/Package.php b/system/src/Grav/Common/GPM/Common/Package.php index 468ca9e9c..ce25d57d2 100644 --- a/system/src/Grav/Common/GPM/Common/Package.php +++ b/system/src/Grav/Common/GPM/Common/Package.php @@ -35,7 +35,7 @@ class Package { } public function __set($key, $value) { - throw new \BadMethodCallException('Not Implemented'); + $this->data->set($key, $value); } public function __toString() {