bug #2776520 (ON UPDATE property), bug was not in a released version

This commit is contained in:
Marc Delisle
2009-04-27 00:18:26 +00:00
parent ea4fbd29e5
commit 95f4b93083

View File

@@ -180,7 +180,7 @@ if (isset($_REQUEST['destination_foreign'])) {
if (! empty($_REQUEST['on_delete'][$master_field_md5])) {
$sql_query .= ' ON DELETE ' . $options_array[$_REQUEST['on_delete'][$master_field_md5]];
}
if (! empty($_REQUEST['on_update'][$master_field])) {
if (! empty($_REQUEST['on_update'][$master_field_md5])) {
$sql_query .= ' ON UPDATE ' . $options_array[$_REQUEST['on_update'][$master_field_md5]];
}
$sql_query .= ';';