From faab4e668eb7dbd988ab1c52334e46433f430622 Mon Sep 17 00:00:00 2001 From: skeeter Date: Sun, 4 Mar 2001 04:13:54 +0000 Subject: [PATCH] didn't handle retrieving structures from appsession properly --- phpgwapi/inc/class.sessions.inc.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.sessions.inc.php b/phpgwapi/inc/class.sessions.inc.php index c25f6d50c7..094a4c0411 100644 --- a/phpgwapi/inc/class.sessions.inc.php +++ b/phpgwapi/inc/class.sessions.inc.php @@ -386,8 +386,12 @@ // I added these into seperate steps for easier debugging $data = $phpgw->db->f('content'); - $data = $phpgw->common->decrypt($data); - $data = stripslashes($data); + // Changed by Skeeter 2001 Mar 04 0400Z + // This was not properly decoding structures saved into session data properly +// $data = $phpgw->common->decrypt($data); +// $data = stripslashes($data); + $data = $phpgw->crypto->decrypt($data); + $data = unserialize($data); return $data; } else {