Jump to content

Nepovinné pole IČ - 1.6


JAKCRABBIT
 Share

Recommended Posts

Ve složce classes zakomentujeme následující řádky ve zmíněných souborech, řádky se můžou lišit dle verze, toto je na 1.6.0.9.
 

Address.php
 
řádek 129:
//'dni' => array('type' => self::TYPE_STRING, 'validate' => 'isDniLite', 'size' => 16),
 
Country.php
 
řádek 49:
//public $need_identification_number;
řádek 80:
//'need_identification_number' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool', 'required' => true),
 
Validate.php

řádky 872-875
//public static function isDniLite($dni)
//{
//   return empty($dni) || (bool)preg_match('/^[0-9A-Za-z-.]{1,16}$/U', $dni);
//}
Edited by JAKCRABBIT (see edit history)

Share this post


Link to post
Share on other sites

  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More