Files
opensourcepos/app/Controllers/Customers.php
Ollama d6f9f4e16e fix(security): Allow empty email addresses in customer import
- Empty emails are now allowed (customers may not have email addresses)
- Validation only applies when email is non-empty
- Added test case for empty email acceptance

This fixes a regression where FILTER_VALIDATE_EMAIL rejected empty
strings, breaking imports for customers without email addresses.
2026-06-07 08:39:15 +02:00

20 KiB