Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2594951
D25398.1730326978.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
571 B
Referenced Files
None
Subscribers
None
D25398.1730326978.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Wed, Oct 30, 22:22 (8 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
952824
Default Alt Text
D25398.1730326978.diff (571 B)
Attached To
Mode
D25398: Fix a PHP 8.1 deprecated use of strlen with a NULL argument
Attached
Detach File
Event Timeline
Log In to Comment