bug 782828

This commit is contained in:
Marc Delisle
2003-08-05 15:32:27 +00:00
parent 0e3f37648f
commit 38aeb84c79
2 changed files with 8 additions and 1 deletions

View File

@@ -171,7 +171,12 @@ if (isset($btnDrop) && $btnDrop == $strNo) {
if (!$cfg['Confirm']
|| (isset($is_js_confirmed) && $is_js_confirmed)
|| isset($btnDrop)
|| !empty($GLOBALS['show_as_php'])
// if we are coming from a "Create PHP code" or a "Without PHP Code"
// dialog, we won't execute the query anyway, so don't confirm
//|| !empty($GLOBALS['show_as_php'])
|| isset($GLOBALS['show_as_php'])
|| !empty($GLOBALS['validatequery'])) {
$do_confirm = FALSE;
} else {