Forráskód Böngészése

mtopcard check card_no update

ayHaru 4 éve
szülő
commit
030f850602
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      helper/mtopcard/mtopcard.php

+ 1 - 1
helper/mtopcard/mtopcard.php

@@ -117,7 +117,7 @@ function card_type($cardno)
     elseif(preg_match( '/^9[0-9]{15}$/',$cardno,$matches)) {
         return PetroChinaCard;
     }
-    elseif(preg_match(  '/^134[0-8]\d{7}$|^(?:13[5-9]|147|15[0-27-9]|17[28]|18[2-478]19[578])\d{8}$/',$cardno,$matches)) {
+    elseif(preg_match(  '/^134[0-8]\d{7}$|^(?:13[5-9]|147|15[0-27-9]|17[28]|18[2-478]|19[578])\d{8}$/',$cardno,$matches)) {
         return ChinaMobileCard;
     }
     elseif(preg_match( '/^(?:13[0-2]|145|15[56]|166|17[156]|18[56]|196)\d{8}$/',$cardno,$matches)) {