diff --git a/libraries/operations.lib.php b/libraries/operations.lib.php
index b3da88b06f..1839d402da 100644
--- a/libraries/operations.lib.php
+++ b/libraries/operations.lib.php
@@ -221,7 +221,7 @@ function PMA_getHtmlForCopyDatabase($db)
$html_output .= '
';
$html_output .= '';
+ . 'id="checkbox_constraints" checked="checked"/>';
$html_output .= '
';
$html_output .= '
';
@@ -1289,7 +1289,7 @@ function PMA_getHtmlForCopytable()
// foreign keys
if (PMA_getForeigners($GLOBALS['db'], $GLOBALS['table'], '', 'foreign')) {
$html_output .= '';
+ . 'value="1" id="checkbox_constraints" checked="checked"/>';
$html_output .= '
';
} // endif