diff --git a/libraries/auth/cookie.auth.lib.php b/libraries/auth/cookie.auth.lib.php index 1dacc67ae..fb791fcab 100644 --- a/libraries/auth/cookie.auth.lib.php +++ b/libraries/auth/cookie.auth.lib.php @@ -192,6 +192,11 @@ function PMA_auth() if (top != self) { window.top.location.href=location; } +// Restore location from hash for bookmarks + +if (parent.location.hash != '') { + parent.location = 'index.php?' + parent.location.hash.substring(1); +} //]]>