Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.

Commit 23456a7

Browse files
Merge pull request #94 from melanger/patch-3
Allow omitted config for nested class in ProxyFilter
2 parents 41c1a7d + 10b1aca commit 23456a7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
All notable changes to this project will be documented in this file.
33

44
## [Unreleased]
5+
#### Fixed
6+
- Allow omitted config for nested class in ProxyFilter
57

68
## [v3.7.1]
79
#### Fixed

lib/Auth/Process/ProxyFilter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function __construct($config, $reserved)
4848
parent::__construct($config, $reserved);
4949

5050
$conf = Configuration::loadFromArray($config);
51-
$this->config = $conf->getArray('config');
51+
$this->config = $conf->getArray('config', []);
5252
$this->nestedClass = Configuration::loadFromArray($this->config)->getString('class');
5353
unset($this->config['class']);
5454
$this->filterSPs = $conf->getArray('filterSPs', []);

0 commit comments

Comments
 (0)