Page MenuHomePhorge

D25279.1737310802.diff
No OneTemporary

D25279.1737310802.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
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)

Event Timeline