Fixed SQL error

This commit is contained in:
jengo 2000-12-27 10:00:43 +00:00
parent 06d69774c9
commit 20bd0cab2d

View File

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