mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
This might be the final fix to get things working with serialize() in all version of PHP
This commit is contained in:
parent
b60a700dcf
commit
b150a2a1c4
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user