mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-17 02:41:02 +01:00
Wokring on final fix for PHP 4.0.4
This commit is contained in:
parent
c8ae0f9de7
commit
1f29754cc0
@ -53,7 +53,12 @@
|
||||
$phpgw_info["user"]["kp3"] = $kp3;
|
||||
|
||||
$phpgw_info_flags = $phpgw_info["flags"];
|
||||
$phpgw_info = unserialize(stripslashes($db->f("session_info")));
|
||||
if (PHP_VERSION > "4.0.3pl1") {
|
||||
$phpgw_info = unserialize($db->f("session_info"));
|
||||
} else {
|
||||
$phpgw_info = unserialize(stripslashes($db->f("session_info")));
|
||||
}
|
||||
|
||||
$phpgw_info["flags"] = $phpgw_info_flags;
|
||||
|
||||
$userid_array = explode("@",$db->f("session_lid"));
|
||||
|
Loading…
Reference in New Issue
Block a user