Fixed many issues in output HTML code according to HTML 4.01 Transitional format.
[fa-stable.git] / includes / ui / contacts_view.inc
index 07e3066deff1224036ee083cf95d2501ebcb09bb..21cbf4bd593654d810d599ded22e53e062481d2a 100644 (file)
@@ -36,7 +36,7 @@ class contacts extends simple_crud {
 
                        $contacts = get_crm_persons($this->class, $this->subclass, $this->entity);
 //                             check_value('show_inactive'));
-                       start_table(TABLESTYLE, "width=80%");
+                       start_table(TABLESTYLE, "width='80%'");
 
                        $th = array(_('Assignment'), _("Reference"), _("Full Name"), _("Phone"), _("Sec Phone"), _("Fax"),
                                _("email"),  '',
@@ -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() {