Fix possible undefined variable use.
This commit is contained in:
@@ -10,6 +10,7 @@ $Source$
|
|||||||
libraries/display_tbl.lib.php: Support for exporting selected rows (RFE
|
libraries/display_tbl.lib.php: Support for exporting selected rows (RFE
|
||||||
#927554) [still missing images/button_export.png, waiting for somebody
|
#927554) [still missing images/button_export.png, waiting for somebody
|
||||||
to make it :-)].
|
to make it :-)].
|
||||||
|
* libraries/auth/cookie.auth.lib.php: Fix possible undefined variable use.
|
||||||
|
|
||||||
2004-04-15 Olivier Mueller <om@omnis.ch>
|
2004-04-15 Olivier Mueller <om@omnis.ch>
|
||||||
* left.php: RFE #859208, Logout button in left frame
|
* left.php: RFE #859208, Logout button in left frame
|
||||||
|
@@ -154,7 +154,7 @@ function PMA_auth()
|
|||||||
else if (!empty($_COOKIE) && isset($_COOKIE['pma_cookie_username'])) {
|
else if (!empty($_COOKIE) && isset($_COOKIE['pma_cookie_username'])) {
|
||||||
$default_user = $_COOKIE['pma_cookie_username'];
|
$default_user = $_COOKIE['pma_cookie_username'];
|
||||||
}
|
}
|
||||||
$decrypted_user = PMA_blowfish_decrypt($default_user, $GLOBALS['cfg']['blowfish_secret']);
|
$decrypted_user = isset($default_user) ? PMA_blowfish_decrypt($default_user, $GLOBALS['cfg']['blowfish_secret']) : '';
|
||||||
$pos = strrpos($decrypted_user, ':');
|
$pos = strrpos($decrypted_user, ':');
|
||||||
$default_user = substr($decrypted_user, 0, $pos);
|
$default_user = substr($decrypted_user, 0, $pos);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user