summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/uic/barcode/Encoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/uic/barcode/Encoder.java b/src/main/java/org/uic/barcode/Encoder.java
index 9463548..f0f8d14 100644
--- a/src/main/java/org/uic/barcode/Encoder.java
+++ b/src/main/java/org/uic/barcode/Encoder.java
@@ -100,7 +100,7 @@ public class Encoder {
DataType ticketData = new DataType();
UicRailTicketCoder uicTicketCoder = new UicRailTicketCoder();
- if (fcbVersion == 1) {
+ if (fcbVersion == 1 || fcbVersion == 13) {
ticketData.setFormat(Constants.DATA_TYPE_FCB_VERSION_1);
} else if (fcbVersion == 2) {
ticketData.setFormat(Constants.DATA_TYPE_FCB_VERSION_2);