rfe #838637 Added semicolon to privilege export
This commit is contained in:
@@ -1351,7 +1351,7 @@ if (isset($_REQUEST['export'])) {
|
|||||||
echo '<textarea cols="' . $GLOBALS['cfg']['TextareaCols'] . '" rows="' . $GLOBALS['cfg']['TextareaRows'] . '">';
|
echo '<textarea cols="' . $GLOBALS['cfg']['TextareaCols'] . '" rows="' . $GLOBALS['cfg']['TextareaRows'] . '">';
|
||||||
$grants = PMA_DBI_fetch_result("SHOW GRANTS FOR '" . PMA_sqlAddslashes($username) . "'@'" . PMA_sqlAddslashes($hostname) . "'");
|
$grants = PMA_DBI_fetch_result("SHOW GRANTS FOR '" . PMA_sqlAddslashes($username) . "'@'" . PMA_sqlAddslashes($hostname) . "'");
|
||||||
foreach($grants as $one_grant) {
|
foreach($grants as $one_grant) {
|
||||||
echo $one_grant . "\n\n";
|
echo $one_grant . ";\n\n";
|
||||||
}
|
}
|
||||||
echo '</textarea>';
|
echo '</textarea>';
|
||||||
unset($username, $hostname, $grants, $one_grant);
|
unset($username, $hostname, $grants, $one_grant);
|
||||||
|
Reference in New Issue
Block a user