bug 778899
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2003-07-28 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* sql.php3: bug 778899, could not create a bookmark
|
||||
|
||||
2003-07-27 Alexander M. Turek <rabus@users.sourceforge.net>
|
||||
* server_privileges.php3: A user could not edit his own global privileges.
|
||||
|
||||
|
10
sql.php3
10
sql.php3
@@ -8,7 +8,6 @@
|
||||
require('./libraries/grab_globals.lib.php3');
|
||||
require('./libraries/common.lib.php3');
|
||||
|
||||
PMA_checkParameters(array('sql_query', 'db'));
|
||||
|
||||
/**
|
||||
* Defines the url to return to in case of error in a sql statement
|
||||
@@ -38,6 +37,15 @@ if (isset($fields['query'])) {
|
||||
$sql_query = $fields['query'];
|
||||
}
|
||||
|
||||
// This one is just to fill $db
|
||||
if (isset($fields['dbase'])) {
|
||||
$db = $fields['dbase'];
|
||||
}
|
||||
|
||||
// Now we can check the parameters
|
||||
PMA_checkParameters(array('sql_query', 'db'));
|
||||
|
||||
|
||||
/**
|
||||
* Check rights in case of DROP DATABASE
|
||||
*
|
||||
|
Reference in New Issue
Block a user