From a2355179a0d2ec17b00d990c3e3d0c363c868e15 Mon Sep 17 00:00:00 2001 From: Lars Kneschke Date: Wed, 7 Feb 2001 22:25:57 +0000 Subject: [PATCH] fixing parser errors --- phpgwapi/inc/class.sessions.inc.php | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/phpgwapi/inc/class.sessions.inc.php b/phpgwapi/inc/class.sessions.inc.php index e1369f1ba9..84becaa866 100644 --- a/phpgwapi/inc/class.sessions.inc.php +++ b/phpgwapi/inc/class.sessions.inc.php @@ -310,8 +310,7 @@ .' sessionid = "'.$this->sessionid.'"' .' and loginid = "'.$this->account_id.'"' .' and app = "'.$phpgw_info["user"]["currentapp"].'"' - .' and location = "'.$location.'"',__LINE__,__FILE__ - ); + .' and location = "'.$location.'"'; $phpgw->db->query($sql,__LINE__,__FILE__); @@ -327,8 +326,8 @@ .' sessionid = "'.$this->sessionid.'"' .' and loginid = "'.$this->account_id.'"' .' and app = "'.$phpgw_info["user"]["currentapp"].'"' - .' and location = "'.$location.'"',__LINE__,__FILE__ - ); + .' and location = "'.$location.'"'; + $phpgw->db->query($sql,__LINE__,__FILE__); if ($phpgw->db->num_rows()==0) { @@ -337,16 +336,15 @@ .' ","'.$this->account_id.'"' .' ","'.$phpgw_info["flags"]["currentapp"].'"' .' ","'.$location.'"' - .' ","'.$data.'"')' - ); + .' ","'.$data.'")' + ; $phpgw->db->query($sql,__LINE__,__FILE__); } else { $sql = 'update phpgw_app_sessions set content = "'.$data.'"' .' where sessionid = "'.$this->sessionid.'"' .' and loginid = "'.$this->account_id.'"' .' and app = "'.$phpgw_info["user"]["currentapp"].'"' - .' and location = "'.$location.'"',__LINE__,__FILE__ - ); + .' and location = "'.$location.'"'; $phpgw->db->query($sql,__LINE__,__FILE__); } //$data = $phpgw->common->decrypt($data); @@ -421,7 +419,6 @@ return False; } } - } /*************************************************************************\ @@ -490,4 +487,4 @@ return $url; } } -?> \ No newline at end of file +?>