Bad handling of graphic links in certain browsers
[fa-stable.git] / gl / manage / gl_account_types.php
index 94447562edf2a916774ccd0730ac747fbf37642f..65c0012a0449d3e0e235500ab579c39ebebbbff8 100644 (file)
@@ -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."));