Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2619758
D25285.1731648487.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
589 B
Referenced Files
None
Subscribers
None
D25285.1731648487.diff
View Options
diff --git a/src/applications/diffusion/controller/DiffusionTagListController.php b/src/applications/diffusion/controller/DiffusionTagListController.php
--- a/src/applications/diffusion/controller/DiffusionTagListController.php
+++ b/src/applications/diffusion/controller/DiffusionTagListController.php
@@ -25,7 +25,7 @@
'offset' => $pager->getOffset(),
);
- if (strlen($drequest->getSymbolicCommit())) {
+ if (phutil_nonempty_string($drequest->getSymbolicCommit())) {
$is_commit = true;
$params['commit'] = $drequest->getSymbolicCommit();
} else {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 15, 05:28 (12 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
971282
Default Alt Text
D25285.1731648487.diff (589 B)
Attached To
Mode
D25285: Fix PHP 8.1 "strlen(null)" exception when Diffusion repository has no tags
Attached
Detach File
Event Timeline
Log In to Comment