forked from extern/egroupware
Add default tid to update
This commit is contained in:
parent
3180ed8534
commit
526229cefe
@ -540,7 +540,7 @@
|
|||||||
. addslashes($field_name) . "'",__LINE__,__FILE__);
|
. addslashes($field_name) . "'",__LINE__,__FILE__);
|
||||||
}
|
}
|
||||||
|
|
||||||
function update($id,$owner,$fields,$access='',$cat_id='',$tid='')
|
function update($id,$owner,$fields,$access='',$cat_id='',$tid='n')
|
||||||
{
|
{
|
||||||
// First make sure that id number exists
|
// First make sure that id number exists
|
||||||
$this->db->query("select count(*) from $this->std_table where id='$id'",__LINE__,__FILE__);
|
$this->db->query("select count(*) from $this->std_table where id='$id'",__LINE__,__FILE__);
|
||||||
|
Loading…
Reference in New Issue
Block a user