fixing parser errors

This commit is contained in:
Lars Kneschke 2001-02-07 22:25:57 +00:00
parent 1ba6eb78d2
commit a2355179a0

View File

@ -310,8 +310,7 @@
.' sessionid = "'.$this->sessionid.'"' .' sessionid = "'.$this->sessionid.'"'
.' and loginid = "'.$this->account_id.'"' .' and loginid = "'.$this->account_id.'"'
.' and app = "'.$phpgw_info["user"]["currentapp"].'"' .' and app = "'.$phpgw_info["user"]["currentapp"].'"'
.' and location = "'.$location.'"',__LINE__,__FILE__ .' and location = "'.$location.'"';
);
$phpgw->db->query($sql,__LINE__,__FILE__); $phpgw->db->query($sql,__LINE__,__FILE__);
@ -327,8 +326,8 @@
.' sessionid = "'.$this->sessionid.'"' .' sessionid = "'.$this->sessionid.'"'
.' and loginid = "'.$this->account_id.'"' .' and loginid = "'.$this->account_id.'"'
.' and app = "'.$phpgw_info["user"]["currentapp"].'"' .' and app = "'.$phpgw_info["user"]["currentapp"].'"'
.' and location = "'.$location.'"',__LINE__,__FILE__ .' and location = "'.$location.'"';
);
$phpgw->db->query($sql,__LINE__,__FILE__); $phpgw->db->query($sql,__LINE__,__FILE__);
if ($phpgw->db->num_rows()==0) { if ($phpgw->db->num_rows()==0) {
@ -337,16 +336,15 @@
.' ","'.$this->account_id.'"' .' ","'.$this->account_id.'"'
.' ","'.$phpgw_info["flags"]["currentapp"].'"' .' ","'.$phpgw_info["flags"]["currentapp"].'"'
.' ","'.$location.'"' .' ","'.$location.'"'
.' ","'.$data.'"')' .' ","'.$data.'")'
); ;
$phpgw->db->query($sql,__LINE__,__FILE__); $phpgw->db->query($sql,__LINE__,__FILE__);
} else { } else {
$sql = 'update phpgw_app_sessions set content = "'.$data.'"' $sql = 'update phpgw_app_sessions set content = "'.$data.'"'
.' where sessionid = "'.$this->sessionid.'"' .' where sessionid = "'.$this->sessionid.'"'
.' and loginid = "'.$this->account_id.'"' .' and loginid = "'.$this->account_id.'"'
.' and app = "'.$phpgw_info["user"]["currentapp"].'"' .' and app = "'.$phpgw_info["user"]["currentapp"].'"'
.' and location = "'.$location.'"',__LINE__,__FILE__ .' and location = "'.$location.'"';
);
$phpgw->db->query($sql,__LINE__,__FILE__); $phpgw->db->query($sql,__LINE__,__FILE__);
} }
//$data = $phpgw->common->decrypt($data); //$data = $phpgw->common->decrypt($data);
@ -421,7 +419,6 @@
return False; return False;
} }
} }
}
/*************************************************************************\ /*************************************************************************\