Page MenuHomePhorge

D25279.1736890260.diff
No OneTemporary

D25279.1736890260.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
Tue, Jan 14, 21:31 (3 d, 21 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1114746
Default Alt Text
D25279.1736890260.diff (569 B)

Event Timeline