use PMA_sendHeaderLocation
This commit is contained in:
@@ -151,7 +151,8 @@ if (isset($primary_key) && ($submit_type != $strInsertAsNewRow)) {
|
|||||||
require_once('./header.inc.php');
|
require_once('./header.inc.php');
|
||||||
require('./' . preg_replace('@\.\.*@', '.', $goto));
|
require('./' . preg_replace('@\.\.*@', '.', $goto));
|
||||||
} else {
|
} else {
|
||||||
header('Location: ' . $cfg['PmaAbsoluteUri'] . $goto . '&disp_message=' . urlencode($message) . '&disp_query=');
|
PMA_sendHeaderLocation($cfg['PmaAbsoluteUri'] . $goto . '&disp_message=' . urlencode($message) . '&disp_query=');
|
||||||
|
|
||||||
}
|
}
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user