fixed profile check

This commit is contained in:
Roland Gruber 2017-10-21 21:37:07 +02:00
parent 2c14a5ae61
commit b3a5e0603e
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}