Jump to content

Edit History

massycroft

massycroft


Solved

1 hour ago, musicmaster said:

In the file classes/address.php you find a table of fields that assigns the address validator to that field. You can find that validator in the classes/validate.php file.

Thank you Musicmaster,

I've removed the symbol '@' present in the string 356 of classes/Validate.php

OLD STRING: return empty($address) || preg_match(Tools::cleanNonUnicodeSupport('/^[^!<>?=+{}_$@%]*$/u'), $address);

NEW STRING: return empty($address) || preg_match(Tools::cleanNonUnicodeSupport('/^[^!<>?=+{}_$%]*$/u'), $address);

Now it works!

massycroft

massycroft

1 hour ago, musicmaster said:

In the file classes/address.php you find a table of fields that assigns the address validator to that field. You can find that validator in the classes/validate.php file.

Thank you Musicmaster,

I remove the symbol '@' present in the string 356 of classes/Validate.php

OLD STRING: return empty($address) || preg_match(Tools::cleanNonUnicodeSupport('/^[^!<>?=+{}_$@%]*$/u'), $address);

NEW STRING: return empty($address) || preg_match(Tools::cleanNonUnicodeSupport('/^[^!<>?=+{}_$%]*$/u'), $address);

Now it works!

massycroft

massycroft

1 hour ago, musicmaster said:

In the file classes/address.php you find a table of fields that assigns the address validator to that field. You can find that validator in the classes/validate.php file.

Thank you Musicmaster,

I reach those files but I don't know how to add the new rule that makes it accept '@'.

×
×
  • Create New...