Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2938970
D25399.1738026840.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
594 B
Referenced Files
None
Subscribers
None
D25399.1738026840.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
@@ -130,7 +130,9 @@
$this->getMessage());
}
- private function formatUser($name, $email) {
+ 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
Tue, Jan 28, 01:14 (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1150882
Default Alt Text
D25399.1738026840.diff (594 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