FIX Base URL defaults to a slash in currentURL if not defined already

This commit is contained in:
Robbie Averill 2017-07-18 10:00:50 +12:00 committed by Sam Minnée
parent 8b12e97d7a
commit ba9ad55274

View File

@ -185,8 +185,7 @@ class ParameterConfirmationToken
protected function currentURL()
{
return Controller::join_links(
BASE_URL,
'/',
BASE_URL ?: '/',
$this->request->getURL(false)
);
}