This commit is contained in:
2023-09-26 12:04:59 +02:00
parent baeccf0970
commit 2d4d1eda50
2 changed files with 3 additions and 3 deletions

View File

@@ -270,7 +270,7 @@ class User implements UserInterface, \Stringable
foreach ($this->scopeHistories as $scopeHistory) {
if ($at >= $scopeHistory->getStartDate() && (
null === $scopeHistory->getEndDate() || $at < $scopeHistory->getEndDate()
)) {
)) {
return $scopeHistory->getScope();
}
}