bug 619100 relation and non-primary keys
This commit is contained in:
@@ -8,8 +8,9 @@ $Source$
|
||||
2002-10-21 Alexander M. Turek <rabus@users.sourceforge.net>
|
||||
* lang/german-*.inc.php3: Clarifications.
|
||||
|
||||
2002-09-21 Marc Delisle <lem9@users.sourceforge.net>
|
||||
2002-10-21 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* lang/spanish: removed control M
|
||||
* tbl_relation.php3, bug 619100, relation and non-primary key
|
||||
|
||||
2002-10-19 Alexander M. Turek <rabus@users.sourceforge.net>
|
||||
* translators.html, spanish-*.inc.php3: Updates, thanks again to
|
||||
|
@@ -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'];
|
||||
|
Reference in New Issue
Block a user