X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=admin%2Fcompany_preferences.php;h=3ee19edbc7a493be95e19e3763c7ecd0d95cf7ef;hb=7e4fa01197224b1784257e389a999dd239ffaba1;hp=366fc852613328c472df27031ce3af399a249e8b;hpb=6152038f836d8e467209398169b65997783ac8a9;p=fa-stable.git diff --git a/admin/company_preferences.php b/admin/company_preferences.php index 366fc852..3ee19edb 100644 --- a/admin/company_preferences.php +++ b/admin/company_preferences.php @@ -102,6 +102,8 @@ if (isset($_POST['update']) && $_POST['update'] != "") } if ($_POST['add_pct'] == "") $_POST['add_pct'] = -1; + if ($_POST['round_to'] <= 0) + $_POST['round_to'] = 1; if ($input_error != 1) { update_company_setup($_POST['coy_name'], $_POST['coy_no'],