fix: Check if the url GET parameter is empty

This commit is contained in:
Pierre Rudloff 2018-08-13 10:05:38 +02:00
parent 169752a214
commit 9a688e931a
1 changed files with 1 additions and 1 deletions

View File

@ -348,7 +348,7 @@ class FrontController
$params['url'] = $params['v'];
}
if (isset($params['url'])) {
if (isset($params['url']) && !empty($params['url'])) {
$password = $request->getParam('password');
if (isset($password)) {
$this->sessionSegment->setFlash($params['url'], $password);