Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2683631
D25285.1734685024.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.1734685024.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, Dec 20, 08:57 (20 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1017189
Default Alt Text
D25285.1734685024.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