Adjust table operations to use POST
Issue #13866
Signed-off-by: Michal Čihař <michal@cihar.com>
(cherry picked from commit 6b5d535da5)
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
This commit is contained in:
parent
8f9f8aa3b5
commit
fc378b0bd3
@ -1471,11 +1471,11 @@ function PMA_getListofMaintainActionLink($pma_table, $url_params)
|
||||
function PMA_getMaintainActionlink($action_message, $params, $url_params, $link)
|
||||
{
|
||||
return '<li>'
|
||||
. '<a class="maintain_action ajax" '
|
||||
. 'href="sql.php'
|
||||
. URL::getCommon(array_merge($url_params, $params)) . '">'
|
||||
. $action_message
|
||||
. '</a>'
|
||||
. Util::linkOrButton(
|
||||
'sql.php' . URL::getCommon(array_merge($url_params, $params)),
|
||||
$action_message,
|
||||
['class' => 'maintain_action ajax']
|
||||
)
|
||||
. Util::showMySQLDocu($link)
|
||||
. '</li>';
|
||||
}
|
||||
|
||||
@ -37,6 +37,7 @@ class PMA_Operations_Test extends PHPUnit_Framework_TestCase
|
||||
$GLOBALS['cfg'] = array(
|
||||
'ServerDefault' => 1,
|
||||
'ActionLinksMode' => 'icons',
|
||||
'LinkLengthLimit' => 1000,
|
||||
);
|
||||
$GLOBALS['cfg']['DBG']['sql'] = false;
|
||||
$GLOBALS['server'] = 1;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user