Add default tid to update

This commit is contained in:
Miles Lott 2001-03-30 03:37:21 +00:00
parent 3180ed8534
commit 526229cefe

View File

@ -540,7 +540,7 @@
. 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
$this->db->query("select count(*) from $this->std_table where id='$id'",__LINE__,__FILE__);