Correct comparison which was using an octal number
authorColin Campbell <colin.campbell@ptfs-europe.com>
Fri, 1 May 2009 08:32:27 +0000 (09:32 +0100)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Tue, 26 May 2009 19:15:21 +0000 (21:15 +0200)
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
authorities/authorities.pl

index a0ce203..2e9f2da 100755 (executable)
@@ -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)),
                         }