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

Colin Campbell colin.campbell at ptfs-europe.com
Fri May 1 10:32:27 CEST 2009


---
 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




More information about the Koha-patches mailing list