X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=gl%2Fmanage%2Fgl_account_classes.php;h=6cc9a6d53aaf428c9773370d56096cebe0cd5c65;hb=a4db318fa0c84e099e0970ca82e36215782d661e;hp=e0b6ff4ef3c54c74f3bf15b9b3bba67aea6c0bdd;hpb=504553e5263bbf486ef2900dd0d8442d1bb32f9d;p=fa-stable.git diff --git a/gl/manage/gl_account_classes.php b/gl/manage/gl_account_classes.php index e0b6ff4e..6cc9a6d5 100644 --- a/gl/manage/gl_account_classes.php +++ b/gl/manage/gl_account_classes.php @@ -24,7 +24,12 @@ simple_page_mode(true); function can_process() { - + if (!is_numeric($_POST['id'])) + { + display_error( _("The account class ID must be numeric.")); + set_focus('id'); + return false; + } if (strlen($_POST['name']) == 0) { display_error( _("The account class name cannot be empty."));