diff options
Diffstat (limited to 'app/class/Controllerconnect.php')
-rw-r--r-- | app/class/Controllerconnect.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/class/Controllerconnect.php b/app/class/Controllerconnect.php index 4790c63..bd9f9a3 100644 --- a/app/class/Controllerconnect.php +++ b/app/class/Controllerconnect.php @@ -54,7 +54,7 @@ class Controllerconnect extends Controller $this->usermanager->add($this->user); $this->session->addtosession('user', $this->user->id()); - if ($_POST['rememberme']) { + if (!empty($_POST['rememberme'])) { if ($this->user->cookie() > 0) { try { $this->modelconnect = new Modelconnect(); |