The branch, master has been updated
via 4a6adc7e29afe6fd8c4c57ab4e552a344755751d (commit)
from c1398b4ff1b8703da48c3024f5eefd2d35f7434a (commit)
- Log -----------------------------------------------------------------
commit 4a6adc7e29afe6fd8c4c57ab4e552a344755751d
Author: Michal Čihař <mcihar(a)novell.com>
Date: Thu Feb 17 14:30:44 2011 +0100
Do not send html headers for ajax request in this case.
-----------------------------------------------------------------------
Summary of changes:
tbl_replace.php | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/tbl_replace.php b/tbl_replace.php
index 7a60ddb..429e272 100644
--- a/tbl_replace.php
+++ b/tbl_replace.php
@@ -325,7 +325,9 @@ if ($is_insert && count($value_sets) > 0) {
// No change -> move back to the calling script
$message = PMA_Message::success(__('No change'));
$active_page = $goto_include;
- require_once './libraries/header.inc.php';
+ if(!$GLOBALS['is_ajax_request'] == true) {
+ require_once './libraries/header.inc.php';
+ }
require './' . PMA_securePath($goto_include);
exit;
}
hooks/post-receive
--
phpMyAdmin
Show replies by date