fixed a type in the sql of delete

This commit is contained in:
Ralf Becker 2003-06-15 22:21:52 +00:00
parent 85839d59e4
commit 78d0caebdd

View File

@ -255,7 +255,7 @@
return; return;
} }
$this->db->query("delete FROM phpgw_infolog where info_id=$info_id or info_id_parent=$info_id" . $this->db->query("delete FROM phpgw_infolog where info_id=$info_id or info_id_parent=$info_id" .
"AND ((info_access='public' and info_owner != '$this->user') OR (info_owner=$this->user))", " AND ((info_access='public' and info_owner != $this->user) OR (info_owner=$this->user))",
__LINE__,__FILE__); __LINE__,__FILE__);
$this->links->unlink(0,'infolog',$info_id); $this->links->unlink(0,'infolog',$info_id);