Correct comparison which was using an octal number
[koha.git] / 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)),
                         }