Fix redirection between multisites when access is denied (error 403)
This commit is contained in:
parent
d1f15e39fd
commit
87c68e192c
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ function customerror_page() {
|
|||
case 403:
|
||||
$internal_path = substr(request_uri(), strlen(base_path()));
|
||||
if ($internal_path) {
|
||||
$_REQUEST['destination'] = $internal_path;
|
||||
$_REQUEST['destination'] = substr(request_uri(), 1);
|
||||
}
|
||||
else {
|
||||
$_REQUEST['destination'] = variable_get('site_frontpage', 'node');
|
||||
|
|
Reference in a new issue