1
0
mirror of synced 2024-12-13 22:56:04 +03:00

DDC-1411 - Fixed onDelete handling in EntityGenerator

This commit is contained in:
Benjamin Eberlei 2011-10-15 17:53:04 +02:00
parent f54cdf625e
commit 52cea01563

View File

@ -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'])) {