fix: Check if the url GET parameter is empty
This commit is contained in:
parent
169752a214
commit
9a688e931a
1 changed files with 1 additions and 1 deletions
|
@ -348,7 +348,7 @@ class FrontController
|
||||||
$params['url'] = $params['v'];
|
$params['url'] = $params['v'];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($params['url'])) {
|
if (isset($params['url']) && !empty($params['url'])) {
|
||||||
$password = $request->getParam('password');
|
$password = $request->getParam('password');
|
||||||
if (isset($password)) {
|
if (isset($password)) {
|
||||||
$this->sessionSegment->setFlash($params['url'], $password);
|
$this->sessionSegment->setFlash($params['url'], $password);
|
||||||
|
|
Loading…
Reference in a new issue