[Koha-patches] [PATCH] Correct comparison which was using an octal number

Galen Charlton galen.charlton at liblime.com
Fri May 1 14:30:46 CEST 2009


Hi Colin,

As this appears to be your first patch accepted into the main Koha
tree, welcome to the ranks for Koha committers.

Regards,

Galen

On Fri, May 1, 2009 at 4:32 AM, Colin Campbell
<colin.campbell at ptfs-europe.com> wrote:
> ---
>  authorities/authorities.pl |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/authorities/authorities.pl b/authorities/authorities.pl
> index a0ce203..2e9f2da 100755
> --- a/authorities/authorities.pl
> +++ b/authorities/authorities.pl
> @@ -431,7 +431,7 @@ sub build_tabs ($$$$$) {
>                             fixedfield    => ($tag < 10)?(1):(0),
>                             random        => CreateKey,
>                         );
> -                        if ($tag >= 010){ # no indicator for theses tag
> +                        if ($tag >= 10){ # no indicator for theses tag
>                             $tag_data{indicator1} = format_indicator($field->indicator(1)),
>                             $tag_data{indicator2} = format_indicator($field->indicator(2)),
>                         }
> --
> 1.6.0.6
>
> _______________________________________________
> Koha-patches mailing list
> Koha-patches at lists.koha.org
> http://lists.koha.org/mailman/listinfo/koha-patches
>



-- 
Galen Charlton
VP, Research & Development, LibLime
galen.charlton at liblime.com
p: 1-888-564-2457 x709
skype: gmcharlt



More information about the Koha-patches mailing list