We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea01cd2 commit 6953f19Copy full SHA for 6953f19
webapp/src/Entity/Team.php
@@ -782,8 +782,8 @@ public function isLocked(): bool
782
return true;
783
}
784
785
- if ($this->getCategory()) {
786
- foreach ($this->getCategory()->getContests() as $contest) {
+ foreach ($this->getCategories() as $category) {
+ foreach ($category->getContests() as $contest) {
787
if ($contest->isLocked()) {
788
789
0 commit comments