mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-29 13:36:13 +00:00
Fixed: correct use of scopes
This commit is contained in:
parent
3a23e889e3
commit
db28443008
@ -34,7 +34,7 @@ class AccompanyingCourseDocument extends Document implements HasScopesInterface
|
||||
|
||||
public function getScopes(): iterable
|
||||
{
|
||||
if (null !== $this->course) {
|
||||
if (null === $this->course) {
|
||||
return [];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user