From c9bbf1e03fbd5117a18878383d26d57b5e588791 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Tue, 11 May 2004 12:41:12 +0000 Subject: [PATCH] use PMA_sendHeaderLocation --- tbl_replace.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tbl_replace.php b/tbl_replace.php index bbc7009f7..ef138cf49 100644 --- a/tbl_replace.php +++ b/tbl_replace.php @@ -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(); }