Common ui code for allocations moved toallocation_cart.inc
[fa-stable.git] / inventory / manage / item_codes.php
index 4b9fcd79f3c3c974ada87431011f4cf7cd02da5a..3ac092bbf17fe99800bc9419da6c63f28a4a4a6e 100644 (file)
@@ -97,7 +97,7 @@ if (list_updated('stock_id'))
 
 //--------------------------------------------------------------------------------------------------
 
-start_form(false, true);
+start_form();
 
 if (!isset($_POST['stock_id']))
        $_POST['stock_id'] = get_global_stock_item();
@@ -179,7 +179,7 @@ stock_categories_list_row(_("Category:"), 'category_id', null);
 
 end_table(1);
 
-submit_add_or_update_center($selected_id == -1, '', true);
+submit_add_or_update_center($selected_id == -1, '', 'both');
 
 end_form();
 end_page();