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

@@ -18,6 +18,8 @@ $Source$
* lang/turkish update, thanks to Bora Alioglu
* lang/romanian: Updated, thanks to Valics Lehel.
* lang/ukrainian: update, thanks to Markijan Baran
* sql.php3: bug 782828, do not go into confirm dialog if we are coming
from "Create PHP Code" or "Without PHP Code"
2003-08-04 Michal Cihar <nijel@users.sourceforge.net>
* lang/czech: Updated.

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 {