diff --git a/ChangeLog b/ChangeLog index 65544b52e..537d21e15 100755 --- a/ChangeLog +++ b/ChangeLog @@ -8,8 +8,9 @@ $Source$ 2002-10-21 Alexander M. Turek * lang/german-*.inc.php3: Clarifications. -2002-09-21 Marc Delisle +2002-10-21 Marc Delisle * lang/spanish: removed control M + * tbl_relation.php3, bug 619100, relation and non-primary key 2002-10-19 Alexander M. Turek * translators.html, spanish-*.inc.php3: Updates, thanks again to diff --git a/tbl_relation.php3 b/tbl_relation.php3 index f8dec0fca..315f5a5e5 100644 --- a/tbl_relation.php3 +++ b/tbl_relation.php3 @@ -173,7 +173,7 @@ if ($cfgRelation['relwork']) { $field_full = $db . '.' .$curr_field['Table'] . '.' . $curr_field['Column_name']; $field_v = $curr_field['Table'] . '->' . $curr_field['Column_name']; break; - } else if (isset($curr_field['non_unique']) && $curr_field['non_unique'] == 0) { + } else if (isset($curr_field['Non_unique']) && $curr_field['Non_unique'] == 0) { // if we can't find a primary key we take any unique one $field_full = $db . '.' . $curr_field['Table'] . '.' . $curr_field['Column_name']; $field_v = $curr_field['Table'] . '->' . $curr_field['Column_name'];