Use "table (field)" instead of "table -> field" when dumping relations into LaTeX (bug #776957).
This commit is contained in:
@@ -7,6 +7,8 @@ $Source$
|
||||
|
||||
2003-08-05 Michal Cihar <nijel@users.sourceforge.net>
|
||||
* sql.php3: Fixed regular expression.
|
||||
* libraries/export/latex.php3: Use "table (field)" instead of
|
||||
"table -> field" when dumping relations into LaTeX (bug #776957).
|
||||
|
||||
2003-08-05 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* libraries/sqlparser.data.php3: bug 779453, wrong count
|
||||
|
@@ -306,7 +306,7 @@ function PMA_exportStructure($db, $table, $crlf, $error_url, $do_relation = fals
|
||||
if ($do_relation && $have_rel) {
|
||||
$local_buffer .= "\000";
|
||||
if (isset($res_rel[$field_name])) {
|
||||
$local_buffer .= $res_rel[$field_name]['foreign_table'] . ' -> ' . $res_rel[$field_name]['foreign_field'];
|
||||
$local_buffer .= $res_rel[$field_name]['foreign_table'] . ' (' . $res_rel[$field_name]['foreign_field'] . ')';
|
||||
}
|
||||
}
|
||||
if ($do_comments && $cfgRelation['commwork']) {
|
||||
|
Reference in New Issue
Block a user