Possiable fix for cache not updating when submitting preferences

This commit is contained in:
jengo 2001-02-08 05:41:05 +00:00
parent d61f3e5b4d
commit 617c270598

View File

@ -335,6 +335,7 @@
. 'VALUES ("'.$this->sessionid.'","'.$this->account_id.'","'.$appname
. '","'.$location.'","'.$data.'")',__LINE__,__FILE__);
} else {
$data = addslashes($phpgw->crypto->encrypt(serialize($data)));
$phpgw->db->query('update phpgw_app_sessions set content = "'.$data.'" '
. 'where sessionid = "'.$this->sessionid.'" '
. 'and loginid = "'.$this->account_id.'" and app = "'.$appname.'" '