Fix undefined indexes.
This commit is contained in:
@@ -10,6 +10,7 @@ $Source$
|
|||||||
script.
|
script.
|
||||||
* pdf_schema.php: Do not use right_font_family.
|
* pdf_schema.php: Do not use right_font_family.
|
||||||
* lang/czech: Update.
|
* lang/czech: Update.
|
||||||
|
* libraries/auth/cookie.auth.lib.php: Fix undefined indexes.
|
||||||
|
|
||||||
2005-11-24 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
2005-11-24 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
||||||
* libraries/grab_globals.lib.php: allow scripts to bypass importing vars
|
* libraries/grab_globals.lib.php: allow scripts to bypass importing vars
|
||||||
|
@@ -464,14 +464,14 @@ function PMA_auth_set_user()
|
|||||||
|
|
||||||
// any parameters to pass?
|
// any parameters to pass?
|
||||||
$url_params = array();
|
$url_params = array();
|
||||||
if ( ! empty($GLOBALS['target']) ) {
|
if ( ! empty($GLOBALS['db']) ) {
|
||||||
$url_params['db'] = $GLOBALS['db'];
|
$url_params['db'] = $GLOBALS['db'];
|
||||||
}
|
}
|
||||||
if ( ! empty($GLOBALS['target']) ) {
|
if ( ! empty($GLOBALS['table']) ) {
|
||||||
$url_params['table'] = $GLOBALS['table'];
|
$url_params['table'] = $GLOBALS['table'];
|
||||||
}
|
}
|
||||||
// any target to pass?
|
// any target to pass?
|
||||||
if ( ! empty($GLOBALS['target']) ) {
|
if ( ! empty($GLOBALS['target']) && $GLOBALS['target'] != 'index.php' ) {
|
||||||
$url_params['target'] = $GLOBALS['target'];
|
$url_params['target'] = $GLOBALS['target'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user