From: Joe Hunt Date: Fri, 8 Jan 2021 09:41:06 +0000 (+0100) Subject: wrong target focus in accruals.php fixed. X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=commitdiff_plain;h=bed967958109e539eb629f17ba9a38262cfb00a2 wrong target focus in accruals.php fixed. --- diff --git a/gl/accruals.php b/gl/accruals.php index 3fc2b427..b37c413c 100644 --- a/gl/accruals.php +++ b/gl/accruals.php @@ -52,7 +52,7 @@ if (isset($_POST['go']) || isset($_POST['show'])) elseif (input_num('amount', 0) == 0.0) { display_error(_("The amount can not be 0.")); - set_focus('periods'); + set_focus('amount'); $input_error = 1; } elseif (input_num('periods', 0) < 1)