projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bad handling of graphic links in certain browsers
[fa-stable.git]
/
gl
/
manage
/
gl_account_types.php
diff --git
a/gl/manage/gl_account_types.php
b/gl/manage/gl_account_types.php
index 94447562edf2a916774ccd0730ac747fbf37642f..65c0012a0449d3e0e235500ab579c39ebebbbff8 100644
(file)
--- a/
gl/manage/gl_account_types.php
+++ b/
gl/manage/gl_account_types.php
@@
-26,6
+26,12
@@
function can_process()
{
global $selected_id;
{
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."));
if (strlen($_POST['name']) == 0)
{
display_error( _("The account group name cannot be empty."));