Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2654265
D25361.1732616917.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
567 B
Referenced Files
None
Subscribers
None
D25361.1732616917.diff
View Options
diff --git a/src/applications/diffusion/engine/DiffusionCommitHookEngine.php b/src/applications/diffusion/engine/DiffusionCommitHookEngine.php
--- a/src/applications/diffusion/engine/DiffusionCommitHookEngine.php
+++ b/src/applications/diffusion/engine/DiffusionCommitHookEngine.php
@@ -1133,7 +1133,7 @@
->setHookWait(phutil_microseconds_since($hook_start));
$identifier = $this->getRequestIdentifier();
- if (strlen($identifier)) {
+ if ($identifier !== null && strlen($identifier)) {
$event->setRequestIdentifier($identifier);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 26, 10:28 (9 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
996212
Default Alt Text
D25361.1732616917.diff (567 B)
Attached To
Mode
D25361: Fix strlen(null) PHP 8.1 error when pushing into a fresh repository
Attached
Detach File
Event Timeline
Log In to Comment