[Koha-patches] [PATCH] Bug 4085 - Subscription type length wasn't taken into account

Galen Charlton gmcharlt at gmail.com
Wed Feb 3 01:24:07 CET 2010


Hi,

This does not apply against HEAD.

Regards,

Galen


2010/2/1 Frédéric Demians <f.demians at tamil.fr>:
> ---
>  serials/subscription-add.pl |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/serials/subscription-add.pl b/serials/subscription-add.pl
> index 6ee32f5..7fe93c8 100755
> --- a/serials/subscription-add.pl
> +++ b/serials/subscription-add.pl
> @@ -158,9 +158,9 @@ if ($op eq 'addsubscription') {
>     my $subtype         = $query->param('subtype');
>     my $graceperiod     = $query->param('graceperiod') || 0;
>
> -    if ($subtype eq 'months'){
> +    if ($subtype eq 'monthlength'){
>         $monthlength = $sublength;
> -    } elsif ($subtype eq 'weeks'){
> +    } elsif ($subtype eq 'weeklength'){
>         $weeklength = $sublength;
>     } else {
>         $numberlength = $sublength;
> @@ -238,9 +238,9 @@ if ($op eq 'addsubscription') {
>     my $sublength = $query->param('sublength');
>     my $subtype = $query->param('subtype');
>
> -    if($subtype eq 'months'){
> +    if($subtype eq 'monthlength'){
>         $monthlength = $sublength;
> -    } elsif ($subtype eq 'weeks'){
> +    } elsif ($subtype eq 'weeklength'){
>         $weeklength = $sublength;
>     } else {
>         $numberlength = $sublength;
> --
> 1.6.4.3
>
> _______________________________________________
> Koha-patches mailing list
> Koha-patches at lists.koha.org
> http://lists.koha.org/mailman/listinfo/koha-patches
>



-- 
Galen Charlton
gmcharlt at gmail.com



More information about the Koha-patches mailing list