use PMA_sendHeaderLocation

This commit is contained in:
Marc Delisle
2004-05-11 12:41:12 +00:00
parent 941c3d2676
commit c9bbf1e03f

View File

@@ -151,7 +151,8 @@ if (isset($primary_key) && ($submit_type != $strInsertAsNewRow)) {
require_once('./header.inc.php');
require('./' . preg_replace('@\.\.*@', '.', $goto));
} else {
header('Location: ' . $cfg['PmaAbsoluteUri'] . $goto . '&disp_message=' . urlencode($message) . '&disp_query=');
PMA_sendHeaderLocation($cfg['PmaAbsoluteUri'] . $goto . '&disp_message=' . urlencode($message) . '&disp_query=');
}
exit();
}