From b3a5e0603e39ed982605e4229f3af87b864e9afd Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sat, 21 Oct 2017 21:37:07 +0200 Subject: [PATCH] fixed profile check --- lam/lib/modules.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lam/lib/modules.inc b/lam/lib/modules.inc index 2efd4d82..6ab84893 100644 --- a/lam/lib/modules.inc +++ b/lam/lib/modules.inc @@ -1723,7 +1723,7 @@ class accountContainer { $profileCookieKey = 'defaultProfile_' . $this->get_type()->getId(); if (!empty($_COOKIE[$profileCookieKey])) { $cookieProfileName = $_COOKIE[$profileCookieKey]; - if (\LAM\PROFILES\profileExists($profileName, $this->get_type()->getId())) { + if (\LAM\PROFILES\profileExists($cookieProfileName, $this->get_type()->getId())) { $profileName = $cookieProfileName; $this->lastLoadedProfile = $cookieProfileName; }