Fix a PHP deprecation notice in SanitizeAddress

Created on 4 February 2025, about 1 month ago

If you attempt to sanitize addresses without specifying a list of address fields, which is explicitly supported by the module, you'll get a deprecation notice due to explode() usage in the class:

explode(): Passing null to parameter #2 ($string) of type string is deprecated SanitizeAddress.php:203

πŸ“Œ Task
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States rszrama

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024