Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2871110
D25779.1736838175.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
469 B
Referenced Files
None
Subscribers
None
D25779.1736838175.diff
View Options
diff --git a/src/applications/diffusion/query/rawdiff/DiffusionGitRawDiffQuery.php b/src/applications/diffusion/query/rawdiff/DiffusionGitRawDiffQuery.php
--- a/src/applications/diffusion/query/rawdiff/DiffusionGitRawDiffQuery.php
+++ b/src/applications/diffusion/query/rawdiff/DiffusionGitRawDiffQuery.php
@@ -35,7 +35,7 @@
}
$path = $drequest->getPath();
- if (!strlen($path)) {
+ if (!phutil_nonempty_string($path)) {
$path = '.';
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 14, 07:02 (6 d, 21 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1113922
Default Alt Text
D25779.1736838175.diff (469 B)
Attached To
Mode
D25779: Fix PHP 8.1 "strlen(null)" exception in DiffusionGitRawDiffQuery
Attached
Detach File
Event Timeline
Log In to Comment