diff options
Diffstat (limited to 'lib/RHRD/rddb.pm')
-rwxr-xr-x | lib/RHRD/rddb.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/RHRD/rddb.pm b/lib/RHRD/rddb.pm index 6730127..1064505 100755 --- a/lib/RHRD/rddb.pm +++ b/lib/RHRD/rddb.pm @@ -604,7 +604,7 @@ sub check_group return (0, 'OK', "group '" . $groupname . "' does not exist"); } -sub get_group_carts +sub get_group_cart_range { my ($ctx, $groupname) = @_; @@ -623,7 +623,7 @@ sub get_group_carts return ($low_cart, $high_cart, $cart_type, $enforce_cart_range); } -sub set_group_carts +sub set_group_cart_range { my ($ctx, $groupname, $low_cart, $high_cart, $cart_type, $enforce_cart_range) = @_; if(!defined $low_cart) { @@ -1069,7 +1069,7 @@ sub get_next_free_showid { my ($ctx) = @_; - my ($low, $high, $type, undef) = RHRD::rddb::get_group_carts($ctx, $ctx->{'config'}{'specialgroups'}{'shows'}); + my ($low, $high, $type, undef) = RHRD::rddb::get_group_cart_range($ctx, $ctx->{'config'}{'specialgroups'}{'shows'}); unless(defined $low) { return (undef, $high, $type); } |