Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2696646
D25288.1734888519.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
522 B
Referenced Files
None
Subscribers
None
D25288.1734888519.diff
View Options
diff --git a/src/applications/diffusion/controller/DiffusionCommitController.php b/src/applications/diffusion/controller/DiffusionCommitController.php
--- a/src/applications/diffusion/controller/DiffusionCommitController.php
+++ b/src/applications/diffusion/controller/DiffusionCommitController.php
@@ -922,7 +922,7 @@
private function linkBugtraq($corpus) {
$url = PhabricatorEnv::getEnvConfig('bugtraq.url');
- if (!strlen($url)) {
+ if (!phutil_nonempty_string($url)) {
return $corpus;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 22, 17:28 (6 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1026180
Default Alt Text
D25288.1734888519.diff (522 B)
Attached To
Mode
D25288: Fix PHP 8.1 "strlen(null)" exception rendering a commit in Diffusion when bugtraq.url = null
Attached
Detach File
Event Timeline
Log In to Comment