diff options
author | Christian Pointner <equinox@spreadspace.org> | 2015-10-08 22:42:20 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2015-10-08 22:42:23 (GMT) |
commit | e10c9d729f9c7c9bf342e0053dc53988d4e26ff2 (patch) | |
tree | 1bd30c7d4e0fa3cc5d73aba201d580dd4d8f67b0 /lib | |
parent | bf2c23eda20c6e494e1fb3e8f85b775cfaea3c37 (diff) |
most important group sanity cheks are done
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/RHRD/rddb.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/RHRD/rddb.pm b/lib/RHRD/rddb.pm index f60b78f..5bbc645 100755 --- a/lib/RHRD/rddb.pm +++ b/lib/RHRD/rddb.pm @@ -31,6 +31,7 @@ use DBI; use constant { DB_VERSION => 245, RD_CONFIG_FILE => '/etc/rd.conf', + RD_INVALID_CART => 0, RD_MIN_CART => 1, RD_MAX_CART => 999999, RD_MIN_CUT => 1, @@ -957,7 +958,7 @@ sub create_show_group return (undef, $status, $errorstring); } - ($cnt, $status, $errorstring) = RHRD::rddb::set_group_reports($ctx, $groupname, 'Y', 'Y', 'Y'); + ($cnt, $status, $errorstring) = RHRD::rddb::set_group_reports($ctx, $groupname, 'Y', 'N', 'N'); unless(defined $cnt) { return (undef, $status, $errorstring); } |