mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
fixed a bug that came with the new session handling, since session save and session restore cant handle objects, we have to serialize them first
and unserialize them on retrieval.
This commit is contained in:
parent
5830b60482
commit
fbffb3baca
@ -237,7 +237,7 @@
|
|||||||
{
|
{
|
||||||
if (isset($GLOBALS['egw']->session)) // no availible in setup
|
if (isset($GLOBALS['egw']->session)) // no availible in setup
|
||||||
{
|
{
|
||||||
$this->ldapServerInfo = $GLOBALS['egw']->session->appsession('ldapServerInfo');
|
$this->ldapServerInfo = (array) unserialize($GLOBALS['egw']->session->appsession('ldapServerInfo'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
@ -247,7 +247,7 @@
|
|||||||
{
|
{
|
||||||
if (isset($GLOBALS['egw']->session)) // no availible in setup
|
if (isset($GLOBALS['egw']->session)) // no availible in setup
|
||||||
{
|
{
|
||||||
$GLOBALS['egw']->session->appsession('ldapServerInfo','',$this->ldapServerInfo);
|
$GLOBALS['egw']->session->appsession('ldapServerInfo','',serialize($this->ldapServerInfo));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user