Page MenuHomePhorge

D25278.1737221922.diff
No OneTemporary

D25278.1737221922.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
Sat, Jan 18, 17:38 (2 d, 17 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1127044
Default Alt Text
D25278.1737221922.diff (567 B)

Event Timeline