From cbffcf7216570d257badd3070762e044509612ef Mon Sep 17 00:00:00 2001 From: Frank Bergkemper Date: Tue, 3 May 2016 13:43:35 +0200 Subject: [PATCH] Fix: Used empty() on a function instead of a variable --- module/Auth/src/Auth/Controller/AuthController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/Auth/src/Auth/Controller/AuthController.php b/module/Auth/src/Auth/Controller/AuthController.php index aa9014f0..98320b57 100644 --- a/module/Auth/src/Auth/Controller/AuthController.php +++ b/module/Auth/src/Auth/Controller/AuthController.php @@ -83,7 +83,7 @@ public function loginAction() $_SESSION['bareos']['locale'] = $locale; $_SESSION['bareos']['idletime'] = time(); - if(!empty($this->params()->fromQuery('req'))) { + if($this->params()->fromQuery('req')) { return $this->redirect()->toUrl($this->params()->fromQuery('req')); } else {