fix: use correct property to determine license requirements
closes #869anf4gk
This commit is contained in:
@@ -168,7 +168,7 @@ class JobProfile implements BlameableEntityInterface, TimestampableEntityInterfa
|
||||
{
|
||||
// Check licenses
|
||||
$qualifiedByLicenses = true;
|
||||
if (0 < $this->requiredTrainings->count()) {
|
||||
if (0 < count($this->requiredLicenses)) {
|
||||
$teamerLicenseTypes = $teamer->getLicenses()->map(function (License $license) {
|
||||
return $license->getType();
|
||||
})->toArray();
|
||||
|
||||
Reference in New Issue
Block a user