mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-14 01:48:35 +01:00
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:
parent
01e47441d9
commit
195f02657b
@ -49,7 +49,8 @@
|
|||||||
function read_repository()
|
function read_repository()
|
||||||
{
|
{
|
||||||
$this->db->lock("phpgw_preferences");
|
$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();
|
$this->db->next_record();
|
||||||
$pref_info = $this->db->f("preference_value");
|
$pref_info = $this->db->f("preference_value");
|
||||||
$this->data = Array();
|
$this->data = Array();
|
||||||
|
@ -372,7 +372,7 @@
|
|||||||
# $data = addslashes($phpgw->crypto->encrypt(serialize($data)));
|
# $data = addslashes($phpgw->crypto->encrypt(serialize($data)));
|
||||||
$data = addslashes(serialize($data));
|
$data = addslashes(serialize($data));
|
||||||
$phpgw->db->query("INSERT INTO phpgw_app_sessions (sessionid,loginid,app,location,content) "
|
$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__);
|
. "','".$location."','".$data."')",__LINE__,__FILE__);
|
||||||
} else {
|
} else {
|
||||||
# some how the next line is not working correctly! knecke
|
# some how the next line is not working correctly! knecke
|
||||||
|
Loading…
Reference in New Issue
Block a user