diff --git a/modules/core/lib/Auth/Process/ScopeAttribute.php b/modules/core/lib/Auth/Process/ScopeAttribute.php index 21b6a0553d17703e45233ed7515fb9697dc47035..5fd6d7a7033b7f17f8ba3ac0b40be1d6b05a56ad 100644 --- a/modules/core/lib/Auth/Process/ScopeAttribute.php +++ b/modules/core/lib/Auth/Process/ScopeAttribute.php @@ -80,7 +80,7 @@ class sspmod_core_Auth_Process_ScopeAttribute extends SimpleSAML_Auth_Processing $attributes[$this->targetAttribute] = array(); } - if ($this->onlyIfEmpty and count($attributes[$this->targetAttribute]) > 0) { + if ($this->onlyIfEmpty && count($attributes[$this->targetAttribute]) > 0) { return; }