This might be the final fix to get things working with serialize() in all version of PHP

This commit is contained in:
jengo 2000-12-28 11:29:05 +00:00
parent b60a700dcf
commit b150a2a1c4

View File

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