diff --git a/src/oauth2server/Server.php b/src/oauth2server/Server.php index a97f20e2..fee789fd 100644 --- a/src/oauth2server/Server.php +++ b/src/oauth2server/Server.php @@ -41,6 +41,9 @@ class Server public function __construct(array $options) { $this->options = array_merge($this->config, $options); + if ($options !== null) { + $this->options = array_merge($this->config, $options); + } } public function registerDbAbstractor(object $db)