mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
Fixed SQL error
This commit is contained in:
parent
06d69774c9
commit
20bd0cab2d
@ -52,9 +52,8 @@
|
|||||||
$phpgw_info_temp["user"]["kp3"] = ""; // We don't want it anywhere in the
|
$phpgw_info_temp["user"]["kp3"] = ""; // We don't want it anywhere in the
|
||||||
// database for security.
|
// database for security.
|
||||||
|
|
||||||
$db->query("update phpgw_sessions set session_info='" . serialize($phpgw_info_temp)
|
$db->query("update phpgw_sessions set session_info='" . addslashes(serialize($phpgw_info_temp))
|
||||||
. "' where session_id='" . $phpgw_info["user"]["sessionid"] . "'",__LINE__,__FILE__);
|
. "' where session_id='" . $phpgw_info["user"]["sessionid"] . "'",__LINE__,__FILE__);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function add_app($appname,$rebuild = False)
|
function add_app($appname,$rebuild = False)
|
||||||
|
Loading…
Reference in New Issue
Block a user