[go: nahoru, domu]

Skip to content

Commit

Permalink
Removes default new database name #13099
Browse files Browse the repository at this point in the history
Signed-off-by: Raghuram Vadapalli<raghuram.vadapalli@research.iiit.ac.in>
  • Loading branch information
Achilles-96 committed Mar 21, 2017
1 parent 2dfc7af commit 4ca8cfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/operations.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function PMA_getHtmlForRenameDatabase($db)

$html_output .= '<input id="new_db_name" type="text" name="newname" '
. 'maxlength="64" size="30" class="textfield" required="required" '
. 'value="' . htmlspecialchars($db) . '"/>';
. 'value=""/>';

if ($GLOBALS['db_priv'] && $GLOBALS['table_priv']
&& $GLOBALS['col_priv'] && $GLOBALS['proc_priv']
Expand Down Expand Up @@ -201,7 +201,7 @@ function PMA_getHtmlForCopyDatabase($db)
$html_output .= __('Copy database to')
. '</legend>'
. '<input type="text" maxlength="64" name="newname" size="30" '
. 'class="textfield" value="' . htmlspecialchars($db) . '" '
. 'class="textfield" value="" '
. 'required="required" /><br />'
. Util::getRadioFields(
'what', $choices, 'data', true
Expand Down

0 comments on commit 4ca8cfb

Please sign in to comment.