Fri, 16 Feb 2001 20:43:03 +0000

Ra�l Alexis Betancort Santana <rabs@dimension-virtal.com>

  A mising ' in class.sessions.inc.php
This commit is contained in:
el_latino 2001-02-16 20:47:36 +00:00
parent 01e47441d9
commit 195f02657b
2 changed files with 3 additions and 2 deletions

View File

@ -49,7 +49,8 @@
function read_repository()
{
$this->db->lock("phpgw_preferences");
$this->db->query("SELECT preference_value FROM phpgw_preferences WHERE preference_owner='".$this->account_id."'",__LINE__,__FILE__);
//$this->db->query("SELECT preference_value FROM phpgw_preferences WHERE preference_owner='".$this->account_id."'",__LINE__,__FILE__);
$this->db->query("SELECT preference_value FROM phpgw_preferences WHERE preference_owner='4'",__LINE__,__FILE__);
$this->db->next_record();
$pref_info = $this->db->f("preference_value");
$this->data = Array();

View File

@ -372,7 +372,7 @@
# $data = addslashes($phpgw->crypto->encrypt(serialize($data)));
$data = addslashes(serialize($data));
$phpgw->db->query("INSERT INTO phpgw_app_sessions (sessionid,loginid,app,location,content) "
. "VALUES ('".$this->sessionid."',".$this->account_id."','".$appname
. "VALUES ('".$this->sessionid."','".$this->account_id."','".$appname
. "','".$location."','".$data."')",__LINE__,__FILE__);
} else {
# some how the next line is not working correctly! knecke