X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=admin%2Fcreate_coy.php;h=f500feb9cd26b85ca6c17684cf1179286b197bbf;hb=67ec1888ea14a50f6df62e0599e50d209e7b0c6c;hp=6ed2c7743429950a4da971a43db48e5ef5946428;hpb=95ea2a03e3ccfa59bacd3d9a47bdf6d64b7d7a60;p=fa-stable.git diff --git a/admin/create_coy.php b/admin/create_coy.php index 6ed2c774..f500feb9 100644 --- a/admin/create_coy.php +++ b/admin/create_coy.php @@ -42,7 +42,7 @@ function check_data() if ($_POST['name'] == "" || $_POST['host'] == "" || $_POST['dbuser'] == "" || $_POST['dbname'] == "") { - display_error(_("Database setting are not specified.")); + display_error(_("Database settings are not specified.")); return false; } @@ -284,11 +284,6 @@ function display_company_edit($selected_id) { global $def_coy, $db_connections, $tb_pref_counter; - if ($selected_id != -1) - $n = $selected_id; - else - $n = count($db_connections); - start_form(); start_table(TABLESTYLE2);