Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2902493
D25279.1737310802.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
569 B
Referenced Files
None
Subscribers
None
D25279.1737310802.diff
View Options
diff --git a/src/applications/diffusion/conduit/DiffusionBranchQueryConduitAPIMethod.php b/src/applications/diffusion/conduit/DiffusionBranchQueryConduitAPIMethod.php
--- a/src/applications/diffusion/conduit/DiffusionBranchQueryConduitAPIMethod.php
+++ b/src/applications/diffusion/conduit/DiffusionBranchQueryConduitAPIMethod.php
@@ -80,7 +80,7 @@
->setRepository($repository);
$contains = $request->getValue('contains');
- if (strlen($contains)) {
+ if (phutil_nonempty_string($contains)) {
$query->withContainsCommit($contains);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 19, 18:20 (19 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1114746
Default Alt Text
D25279.1737310802.diff (569 B)
Attached To
Mode
D25279: Fix PHP 8.1 "strlen(null)" exception viewing branches of non-existing Hg repo
Attached
Detach File
Event Timeline
Log In to Comment