bug 778899

This commit is contained in:
Marc Delisle
2003-07-28 16:57:57 +00:00
parent 8313d04f08
commit 75bb8d52cb
2 changed files with 12 additions and 1 deletions

View File

@@ -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.

View File

@@ -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
*