Page MenuHomePhorge

D25279.1737339123.diff
No OneTemporary

D25279.1737339123.diff

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

Mime Type
text/plain
Expires
Mon, Jan 20, 02:12 (21 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1114746
Default Alt Text
D25279.1737339123.diff (569 B)

Event Timeline