Fixed: Error on Account Creation Page When Submitting an Empty Registration Form
Co-authored-by: Name <azharbhat.qlo098@webkul.in>
This commit is contained in:
@@ -380,7 +380,7 @@ class CountryCore extends ObjectModel
|
||||
$zip_regexp = str_replace('L', '[a-zA-Z]', $zip_regexp);
|
||||
$zip_regexp = str_replace('C', $this->iso_code, $zip_regexp);
|
||||
|
||||
return (bool)preg_match($zip_regexp, $zip_code);
|
||||
return (bool)preg_match($zip_regexp, (string) $zip_code);
|
||||
}
|
||||
|
||||
public static function addModuleRestrictions(array $shops = array(), array $countries = array(), array $modules = array())
|
||||
|
||||
Reference in New Issue
Block a user