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
|
// Check licenses
|
||||||
$qualifiedByLicenses = true;
|
$qualifiedByLicenses = true;
|
||||||
if (0 < $this->requiredTrainings->count()) {
|
if (0 < count($this->requiredLicenses)) {
|
||||||
$teamerLicenseTypes = $teamer->getLicenses()->map(function (License $license) {
|
$teamerLicenseTypes = $teamer->getLicenses()->map(function (License $license) {
|
||||||
return $license->getType();
|
return $license->getType();
|
||||||
})->toArray();
|
})->toArray();
|
||||||
|
|||||||
Reference in New Issue
Block a user