Fix replace when php does not property interpreted null values for text * mostly need for php8 only..
... | ... | @@ -375,6 +375,8 @@ if ( ! function_exists('convert_accented_characters')) |
375 | 375 | include(APPPATH.'config/foreign_chars.php');
|
376 | 376 | }
|
377 | 377 | |
378 | + $str = (gettype($str) === 'NULL') ? '' : $str;
|
|
379 | + |
|
378 | 380 | if ( ! isset($foreign_characters))
|
379 | 381 | {
|
380 | 382 | return $str;
|
—
View it on GitLab.
You're receiving this email because of your account on gitlab.com. Manage all notifications · Help