Commit 65a27b22 by Tuukka Kivilahti

changes

1 parent 7be70004
......@@ -189,6 +189,16 @@ public class BarcodeBean implements BarcodeBeanLocal {
return null;
// trim zeros off from barcode
String stripped = barcode;
while(stripped.length() > 0 && stripped.charAt(0) == '0') {
stripped = stripped.substring(1);
}
if(stripped.length() > 0)
barcode = stripped;
try {
// it's our special front barcode
if (barcode.startsWith(EVENTUSER_PREFIX)) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!