Changes in db scheme: gl_trans.type_no optimized to int, changed lock_stock.reorder_l...
[fa-stable.git] / includes / ui / contacts_view.inc
index 07e3066deff1224036ee083cf95d2501ebcb09bb..968734f74c17003412dcd2aa083190a449463a08 100644 (file)
@@ -123,8 +123,7 @@ class contacts extends simple_crud {
        function db_update() {
                        return update_crm_person($this->selected_id, $_POST['ref'], $_POST['name'], $_POST['name2'], 
                                $_POST['address'], $_POST['phone'], $_POST['phone2'], $_POST['fax'], $_POST['email'], 
-                               $_POST['lang'], $_POST['notes'], $_POST['assgn'], $this->entity);
-               
+                               $_POST['lang'], $_POST['notes'], $_POST['assgn'], $this->entity, $this->class);
        }
 
        function insert_check() {
@@ -168,4 +167,3 @@ class contacts extends simple_crud {
        }
 }
 
-?>
\ No newline at end of file