Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2684582
D25399.1734698410.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
507 B
Referenced Files
None
Subscribers
None
D25399.1734698410.diff
View Options
diff --git a/src/applications/diffusion/data/DiffusionCommitRef.php b/src/applications/diffusion/data/DiffusionCommitRef.php
--- a/src/applications/diffusion/data/DiffusionCommitRef.php
+++ b/src/applications/diffusion/data/DiffusionCommitRef.php
@@ -131,6 +131,8 @@
}
private function formatUser($name, $email) {
+ $name = coalesce($name, '');
+ $email = coalesce($email, '');
if (strlen($name) && strlen($email)) {
return "{$name} <{$email}>";
} else if (strlen($email)) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 12:40 (19 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1017895
Default Alt Text
D25399.1734698410.diff (507 B)
Attached To
Mode
D25399: Fix a PHP 8.1 deprecated use of strlen with a NULL argument
Attached
Detach File
Event Timeline
Log In to Comment