Small fixed needed for client-side validation.
[fa-stable.git] / inventory / prices.php
index fb323a470c1225fa281847315d48103a929b9dc7..280595150545e89901ae47333cb6a3267fe9b5cb 100644 (file)
@@ -48,7 +48,7 @@ if (!isset($_POST['curr_abrev']))
 
 //---------------------------------------------------------------------------------------------------
 
-start_form(false, true);
+start_form();
 
 if (!isset($_POST['stock_id']))
        $_POST['stock_id'] = get_global_stock_item();
@@ -184,7 +184,7 @@ small_amount_row(_("Price:"), 'price', null, '', _('per') .' '.$kit["units"]);
 
 end_table(1);
 
-submit_add_or_update_center($selected_id == -1, '', true);
+submit_add_or_update_center($selected_id == -1, '', 'both');
 div_end();
 
 end_form();