Skip to content

Commit

Permalink
bug #4603 Field disabled when internal relations used
Browse files Browse the repository at this point in the history
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
  • Loading branch information
madhuracj committed Nov 20, 2014
1 parent 8252099 commit bfc6105
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog
Expand Up @@ -13,6 +13,7 @@ phpMyAdmin - ChangeLog
- bug #4599 Input field unnecessarily selected on focus
- bug #4602 Exporting selected rows exports all rows of the query
- bug #4444 No insert statement produced in SQL export for queries with alias
- bug #4603 Field disabled when internal relations used

4.2.11.0 (2014-10-31)
- bug ReferenceError: Table_onover is not defined
Expand Down
2 changes: 1 addition & 1 deletion libraries/relation.lib.php
Expand Up @@ -1583,7 +1583,7 @@ function PMA_checkChildForeignReferences($db, $table, $column)
$column_status['isReferenced'] = false;
$column_status['isForeignKey'] = false;
$column_status['references'] = array();
$foreigners = PMA_getForeigners($db, $table, $column);
$foreigners = PMA_getForeigners($db, $table, $column, 'foreign');
$child_references = PMA_getChildReferences($db, $table, $column);

if (sizeof($child_references, 0) > 0
Expand Down

0 comments on commit bfc6105

Please sign in to comment.