diff --git a/CHANGELOG.md b/CHANGELOG.md index 7018d29c9..b4fb7dc4b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# v0.9.42 +## 09/11/2015 + +1. [](#bugfix) + * Fixed `User.authorise()` to be backwards compabile + # v0.9.41 ## 09/11/2015 diff --git a/system/defines.php b/system/defines.php index cf1426554..a9ee47a89 100644 --- a/system/defines.php +++ b/system/defines.php @@ -2,7 +2,7 @@ // Some standard defines define('GRAV', true); -define('GRAV_VERSION', '0.9.41'); +define('GRAV_VERSION', '0.9.42'); define('DS', '/'); // Directories and Paths diff --git a/system/src/Grav/Common/User/User.php b/system/src/Grav/Common/User/User.php index 1982bddd2..3942e6c70 100644 --- a/system/src/Grav/Common/User/User.php +++ b/system/src/Grav/Common/User/User.php @@ -136,6 +136,6 @@ class User extends Data */ public function authorise($action) { - $this->authorize($action); + return $this->authorize($action); } }