Skip to content
Snippets Groups Projects
Commit c8b9a1bf authored by Tim van Dijen's avatar Tim van Dijen
Browse files

Fix UninitializedProperty

parent e62fc06b
No related branches found
No related tags found
No related merge requests found
......@@ -92,10 +92,10 @@ class AttributeValueMap extends \SimpleSAML\Auth\ProcessingFilter
}
// now validate it
if (!empty($this->sourceattribute)) {
if (empty($this->sourceattribute)) {
throw new Error\Exception("AttributeValueMap: 'sourceattribute' configuration option not set.");
}
if (!empty($this->targetattribute)) {
if (empty($this->targetattribute)) {
throw new Error\Exception("AttributeValueMap: 'targetattribute' configuration option not set.");
}
if (!is_array($this->values)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment