#99013prevent passing null to mb_strtolower in f:format.case VH
Description
Pass a null value to the f:format.case VH, e.g.
{nullVariable -> f:format.case(mode: 'lower')}
triggers
PHP Runtime Deprecation Notice: mb_strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/web/typo3/sysext/fluid/Classes/ViewHelpers/Format/CaseViewHelper.php line 142
(which throws an Exception if
$GLOBALS['TYPO3_CONF_VARS']['SYS']['exceptionalErrors'] = 32767;
is set)
(only for TYPO3 v11 + PHP 8.1)
Reviews 1
History 24
-
Gerrit Code Review pushed patch set 1 for 11.5 to change 76453 status
NewUnder Review 11/07/22, 11:45 -
Gerrit Code Review pushed patch set 2 for 11.5 to change 76453 11/07/22, 13:33
-
Anonymous commented and changed status
Under ReviewResolved done0 %100 % 11/07/22, 14:30 -
Benni Mack changed status
ResolvedClosed 12/06/22, 21:52
Applied in changeset commit:fb60c52640c1447578eecd514b8651adc84d5976.