Cleanup in create_coy.php
authorJanusz Dobrowolski <janusz@frontaccouting.eu>
Sat, 26 Mar 2011 09:42:02 +0000 (10:42 +0100)
committerJanusz Dobrowolski <janusz@frontaccouting.eu>
Sat, 26 Mar 2011 09:42:02 +0000 (10:42 +0100)
admin/create_coy.php

index 72a058b177b194731a20a358c7e5332e1e2eb84f..f500feb9cd26b85ca6c17684cf1179286b197bbf 100644 (file)
@@ -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);