From b150a2a1c4afe1f4c10f57d28f0bf95431482c61 Mon Sep 17 00:00:00 2001 From: jengo Date: Thu, 28 Dec 2000 11:29:05 +0000 Subject: [PATCH] This might be the final fix to get things working with serialize() in all version of PHP --- phpgwapi/inc/phpgw_session.inc.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/phpgwapi/inc/phpgw_session.inc.php b/phpgwapi/inc/phpgw_session.inc.php index ad2dcf6780..748c09410a 100644 --- a/phpgwapi/inc/phpgw_session.inc.php +++ b/phpgwapi/inc/phpgw_session.inc.php @@ -53,11 +53,7 @@ $phpgw_info["user"]["kp3"] = $kp3; $phpgw_info_flags = $phpgw_info["flags"]; - if (PHP_VERSION > "4.0.3pl1") { - $phpgw_info = unserialize($db->f("session_info")); - } else { - $phpgw_info = unserialize(stripslashes($db->f("session_info"))); - } + $phpgw_info = unserialize($db->f("session_info")); $phpgw_info["flags"] = $phpgw_info_flags;