The branch, master has been updated
via 4a6adc7e29afe6fd8c4c57ab4e552a344755751d (commit)
from c1398b4ff1b8703da48c3024f5eefd2d35f7434a (commit)
- Log -----------------------------------------------------------------
commit 4a6adc7e29afe6fd8c4c57ab4e552a344755751d
Author: Michal Čihař <[email protected]>
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
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Phpmyadmin-git mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-git