bug 782828
This commit is contained in:
@@ -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.
|
||||
|
7
sql.php3
7
sql.php3
@@ -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 {
|
||||
|
Reference in New Issue
Block a user