X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=manufacturing%2Fwork_order_costs.php;h=bd262f81138d96901c7bd48d1bd360edb20fd219;hb=65fc1fa9fcb655a802ee8bd7b73dc211ed0ed4ed;hp=b52590f4a072094d6d3636a39e47acfd0ed29e22;hpb=95ff74b5722826544743a01daf527aa3c9efe11a;p=fa-stable.git diff --git a/manufacturing/work_order_costs.php b/manufacturing/work_order_costs.php index b52590f4..bd262f81 100644 --- a/manufacturing/work_order_costs.php +++ b/manufacturing/work_order_costs.php @@ -68,7 +68,7 @@ if (strlen($wo_details[0]) == 0) function can_process($wo_details) { - if (!check_num('costs', 0)) + if (input_num('costs')<=0) { display_error(_("The amount entered is not a valid number or less then zero.")); set_focus('costs');