Page MenuHomePhorge

D25398.1730371205.diff
No OneTemporary

D25398.1730371205.diff

diff --git a/src/applications/diffusion/controller/DiffusionRepositoryController.php b/src/applications/diffusion/controller/DiffusionRepositoryController.php
--- a/src/applications/diffusion/controller/DiffusionRepositoryController.php
+++ b/src/applications/diffusion/controller/DiffusionRepositoryController.php
@@ -508,7 +508,7 @@
$repository_name = $repository->getName();
$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
Thu, Oct 31, 10:40 (21 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
952824
Default Alt Text
D25398.1730371205.diff (571 B)

Event Timeline