Obey the ShowSQL directive also for inline edit

This commit is contained in:
Marc Delisle
2011-03-26 07:57:02 -04:00
parent e4bdbc2f41
commit bb3f6affea
3 changed files with 12 additions and 3 deletions

View File

@@ -326,9 +326,11 @@ if ($is_insert && count($value_sets) > 0) {
unset($query_fields);
} elseif (empty($query)) {
// No change -> move back to the calling script
//
// Note: logic passes here for inline edit
$message = PMA_Message::success(__('No change'));
$active_page = $goto_include;
if(!$GLOBALS['is_ajax_request'] == true) {
if(! $GLOBALS['is_ajax_request'] == true) {
require_once './libraries/header.inc.php';
}
require './' . PMA_securePath($goto_include);