Basic Information
If you create a custom field using the regex validation and do not supply a regex string, an error occurs when its displayed
Steps to reproduce
- Create Custom profile field
- Set validation to regex
- Leave regex string input empty
- Set to display on members profile
- View members profile
Expected result
No error
Actual result
C:/htdocs/smf/Sources/Profile-Modify.php (Line 1342)
Backtrace information
Type of error: General
Error message
Select
2: preg_match(): Empty regular expression
Version/Git revision
2.1.8
Database Engine
All
Database Version
na
PHP Version
na
Logs
Additional Information
No response
Basic Information
If you create a custom field using the regex validation and do not supply a regex string, an error occurs when its displayed
Steps to reproduce
Expected result
No error
Actual result
Version/Git revision
2.1.8
Database Engine
All
Database Version
na
PHP Version
na
Logs
Additional Information
No response