mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-09-27 20:06:43 +02:00
FIX Query string not built properly
This commit is contained in:
parent
3be0f394bf
commit
092c8986cb
@ -47,9 +47,9 @@ class ModelAsController extends Controller implements NestedController {
|
||||
$this->getResponse()->redirect(Controller::join_links(
|
||||
Director::absoluteBaseURL(),
|
||||
'dev/build',
|
||||
'?' . array(
|
||||
'?' . http_build_query(array(
|
||||
'returnURL' => isset($_GET['url']) ? $_GET['url'] : null,
|
||||
)
|
||||
))
|
||||
));
|
||||
}
|
||||
}
|
||||
|
@ -115,9 +115,9 @@ class RootURLController extends Controller {
|
||||
$this->getResponse()->redirect(Controller::join_links(
|
||||
Director::absoluteBaseURL(),
|
||||
'dev/build',
|
||||
'?' . array(
|
||||
'?' . http_build_query(array(
|
||||
'returnURL' => isset($_GET['url']) ? $_GET['url'] : null,
|
||||
)
|
||||
))
|
||||
));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user