Skip to content

Commit

Permalink
Fix: The property nullable might not be available
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Beaujean committed Aug 5, 2015
1 parent c972230 commit e3f79fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Services/EntityService.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ protected function getEntitiesData()

if (isset($mapping['joinColumns'])) {
foreach ($mapping['joinColumns'] as $joinColumn) {
if ($joinColumn['nullable'] === false) {
if (isset($joinColumn['nullable']) && $joinColumn['nullable'] === false) {
$isNullable = false;
}
}
Expand Down

0 comments on commit e3f79fe

Please sign in to comment.