Fix: Use proper comparison
This commit is contained in:
1 parent
088c5546e7
commit
d48f449076
1 file changed
+1
-1
@@ -34,7 +34,7 @@ class TeamerApplicationType extends AbstractType
|
|||||||
|
|
||||||
$assignment = $application->getAssignment();
|
$assignment = $application->getAssignment();
|
||||||
|
|
||||||
if (null === $assignment->getPickup()) {
|
if (0 === (int) $assignment->getPickup()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user