X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=gl%2Fmanage%2Fgl_account_types.php;h=65c0012a0449d3e0e235500ab579c39ebebbbff8;hb=604d89ac6d18712d8b55bed821afe07b7106db3d;hp=94447562edf2a916774ccd0730ac747fbf37642f;hpb=e41b7b30847fa2889d67d4e418bb9819a85f065d;p=fa-stable.git diff --git a/gl/manage/gl_account_types.php b/gl/manage/gl_account_types.php index 94447562..65c0012a 100644 --- a/gl/manage/gl_account_types.php +++ b/gl/manage/gl_account_types.php @@ -26,6 +26,12 @@ function can_process() { global $selected_id; + if (!input_num('id')) + { + display_error( _("The account id must be an integer and cannot be empty.")); + set_focus('id'); + return false; + } if (strlen($_POST['name']) == 0) { display_error( _("The account group name cannot be empty."));