mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-13 17:00:45 +01:00
found problem with appsession. I was purging it on accident
This commit is contained in:
parent
e2b86e9082
commit
ac6c2d89c4
@ -745,22 +745,9 @@
|
|||||||
/* This allows the user to put '' as the value. */
|
/* This allows the user to put '' as the value. */
|
||||||
if ($data == '##NOTHING##')
|
if ($data == '##NOTHING##')
|
||||||
{
|
{
|
||||||
$GLOBALS['phpgw_session']['phpgw_app_sessions'][$appname][$location] = '';
|
|
||||||
session_register('phpgw_session');
|
|
||||||
$GLOBALS['HTTP_SESSION_VARS']['phpgw_session'] = $GLOBALS['phpgw_session'];
|
|
||||||
|
|
||||||
// I added these into seperate steps for easier debugging
|
// I added these into seperate steps for easier debugging
|
||||||
$data = $GLOBALS['phpgw_session']['phpgw_app_sessions'][$appname][$location]['content'];
|
$data = $GLOBALS['phpgw_session']['phpgw_app_sessions'][$appname][$location]['content'];
|
||||||
|
|
||||||
session_register('phpgw_session');
|
|
||||||
$GLOBALS['HTTP_SESSION_VARS']['phpgw_session'] = $GLOBALS['phpgw_session'];
|
|
||||||
// Changed by Skeeter 2001 Mar 04 0400Z
|
|
||||||
// This was not properly decoding structures saved into session data properly
|
|
||||||
// $data = $GLOBALS['phpgw']->common->decrypt($data);
|
|
||||||
// return stripslashes($data);
|
|
||||||
// Changed by milosch 2001 Dec 20
|
|
||||||
// do not stripslashes here unless this proves to be a problem.
|
|
||||||
// Changed by milosch 2001 Dec 25
|
|
||||||
/* do not decrypt and return if no data (decrypt returning garbage) */
|
/* do not decrypt and return if no data (decrypt returning garbage) */
|
||||||
if($data)
|
if($data)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user