Add check for existing key index in table
[civicrm-core.git] / CRM / Core / Payment.php
index 63657464ad731cb30b45112dc8c149053dd287b6..0bfe0c2d2ec4788790076f2a2687c836e0d2abfa 100644 (file)
@@ -791,6 +791,7 @@ abstract class CRM_Core_Payment {
         'attributes' => array(
           'size' => 4,
           'maxlength' => 4,
+          'minlength' => 4,
           'autocomplete' => 'off',
         ),
         'rules' => array(