Page MenuHomePhorge

D25278.1737339124.diff
No OneTemporary

D25278.1737339124.diff

diff --git a/src/applications/diffusion/controller/DiffusionController.php b/src/applications/diffusion/controller/DiffusionController.php
--- a/src/applications/diffusion/controller/DiffusionController.php
+++ b/src/applications/diffusion/controller/DiffusionController.php
@@ -153,7 +153,7 @@
if (!$spec['commit'] && !$spec['tags'] && !$spec['branches']) {
$branch_name = $drequest->getBranch();
- if (strlen($branch_name)) {
+ if (phutil_nonempty_string($branch_name)) {
$repository_name .= ' ('.$branch_name.')';
}
}

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 20, 02:12 (1 d, 8 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1127044
Default Alt Text
D25278.1737339124.diff (567 B)

Event Timeline