Fix missing parameter

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
Madhura Jayaratne 2018-07-10 16:58:45 +10:00 committed by Isaac Bennetch
parent e02ae904c2
commit 625408be94

View File

@ -266,7 +266,7 @@ if (!$is_information_schema) {
* rename database
*/
if ($GLOBALS['db'] != 'mysql') {
$response->addHTML($operations->getHtmlForRenameDatabase($GLOBALS['db']), $db_collation);
$response->addHTML($operations->getHtmlForRenameDatabase($GLOBALS['db'], $db_collation));
}
// Drop link if allowed
@ -282,7 +282,7 @@ if (!$is_information_schema) {
/**
* Copy database
*/
$response->addHTML($operations->getHtmlForCopyDatabase($GLOBALS['db']));
$response->addHTML($operations->getHtmlForCopyDatabase($GLOBALS['db'], $db_collation));
/**
* Change database charset