File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -4419,21 +4419,6 @@ public function filterValues($display = true)
4419
4419
}
4420
4420
break ;
4421
4421
4422
- case 'email ' :
4423
- case 'string ' :
4424
- case 'itemlink ' :
4425
- // Some 'completename' fields may be typed as 'itemlink' (e.g., in CommonTreeDropdown::class).
4426
- // These should be excluded from the length check, as they are stored as TEXT or MEDIUMTEXT,
4427
- // not VARCHAR. These fields are used solely as item links, not as standard string fields.
4428
- if ($ key !== 'completename ' && is_string ($ value ) && ($ length = mb_strlen ($ value , 'UTF-8 ' )) > 255 ) {
4429
- trigger_error (
4430
- "{$ value } exceed 255 characters long ( {$ length }), it will be truncated. " ,
4431
- E_USER_WARNING
4432
- );
4433
- $ this ->input [$ key ] = mb_substr ($ value , 0 , 255 , 'UTF-8 ' );
4434
- }
4435
- break ;
4436
-
4437
4422
default :
4438
4423
//Plugins can implement their own checks
4439
4424
if (!$ this ->checkSpecificValues ($ searchOption ['datatype ' ], $ value )) {
You can’t perform that action at this time.
0 commit comments