fix confirm bug with the new backquotes
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2001-08-02 Steve Alberty <alberty@neptunlabs.de>
|
||||
* sql.php3: fix confirm bug with the new backquotes
|
||||
|
||||
2001-08-01 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* executed remove_control_m.sh on *.php3
|
||||
|
||||
|
2
sql.php3
2
sql.php3
@@ -50,7 +50,7 @@ if (isset($btnDrop) && $btnDrop == $strNo) {
|
||||
*/
|
||||
$do_confirm = ($cfgConfirm
|
||||
&& !isset($btnDrop)
|
||||
&& eregi('DROP +(TABLE|DATABASE)|ALTER TABLE +[[:alnum:]_]* +DROP|DELETE FROM', $sql_query));
|
||||
&& eregi('DROP +(TABLE|DATABASE)|ALTER TABLE +[[:alnum:]_`]* +DROP|DELETE FROM', $sql_query));
|
||||
$is_select = eregi('^SELECT ', $sql_query);
|
||||
$is_delupd = eregi('^(DELETE|UPDATE) ', $sql_query);
|
||||
|
||||
|
Reference in New Issue
Block a user