Issue 309, don't fail if birthday is bad
[zxing.git] / core / src / com / google / zxing / client / result / VCardResultParser.java
index 6b3c282..0da0ebf 100644 (file)
@@ -57,7 +57,7 @@ final class VCardResultParser extends ResultParser {
     String org = matchSingleVCardPrefixedField("ORG", rawText, true);
     String birthday = matchSingleVCardPrefixedField("BDAY", rawText, true);
     if (!isLikeVCardDate(birthday)) {
-      return null;
+      birthday = null;
     }
     String title = matchSingleVCardPrefixedField("TITLE", rawText, true);
     String url = matchSingleVCardPrefixedField("URL", rawText, true);