From 526229cefe2c38f1ee79f5e940dc3276509ac29f Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Fri, 30 Mar 2001 03:37:21 +0000 Subject: [PATCH] Add default tid to update --- addressbook/inc/class.contacts_sql.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.contacts_sql.inc.php b/addressbook/inc/class.contacts_sql.inc.php index bbda2f2763..da8284b5c5 100644 --- a/addressbook/inc/class.contacts_sql.inc.php +++ b/addressbook/inc/class.contacts_sql.inc.php @@ -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__);