DDC-1411 - Fixed onDelete handling in EntityGenerator
This commit is contained in:
parent
f54cdf625e
commit
52cea01563
@ -791,7 +791,7 @@ public function <methodName>()
|
||||
}
|
||||
|
||||
if (isset($joinColumn['onDelete'])) {
|
||||
$joinColumnAnnot[] = 'onDelete=' . ($joinColumn['onDelete'] ? 'true' : 'false');
|
||||
$joinColumnAnnot[] = 'onDelete="' . ($joinColumn['onDelete'] . '"');
|
||||
}
|
||||
|
||||
if (isset($joinColumn['columnDefinition'])) {
|
||||
|
Loading…
Reference in New Issue
Block a user