Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2685713
D25180.1734703413.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
377 B
Referenced Files
None
Subscribers
None
D25180.1734703413.diff
View Options
diff --git a/src/utils/utf8.php b/src/utils/utf8.php
--- a/src/utils/utf8.php
+++ b/src/utils/utf8.php
@@ -789,6 +789,9 @@
* @phutil-external-symbol function mb_convert_case
*/
function phutil_utf8_strtolower($str) {
+ if ($str === null) {
+ return '';
+ }
if (function_exists('mb_convert_case')) {
return mb_convert_case($str, MB_CASE_LOWER, 'UTF-8');
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 14:03 (14 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1018700
Default Alt Text
D25180.1734703413.diff (377 B)
Attached To
Mode
D25180: Do not pass a null string to mb_convert_case() for PHP 8.1 compatibility
Attached
Detach File
Event Timeline
Log In to Comment