diff --git a/libraries/tbl_relation.lib.php b/libraries/tbl_relation.lib.php index 02eda3acbf..be5edfde1c 100644 --- a/libraries/tbl_relation.lib.php +++ b/libraries/tbl_relation.lib.php @@ -462,9 +462,9 @@ function PMA_getHtmlForForeignKeyRow($one_key, $odd_row, $columns, $i, $html_output .= ''; $constraint_name = isset($one_key['constraint']) ? $one_key['constraint'] : ''; - $html_output .= __('Constraint name'); $html_output .= ''; + . ' value="' . htmlspecialchars($constraint_name) . '"' + . ' placeholder="' . __('Constraint name') . '" />'; $html_output .= '' . "\n"; $html_output .= '';