Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2630683
D25319.1732062685.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
444 B
Referenced Files
None
Subscribers
None
D25319.1732062685.diff
View Options
diff --git a/src/infrastructure/javelin/markup.php b/src/infrastructure/javelin/markup.php
--- a/src/infrastructure/javelin/markup.php
+++ b/src/infrastructure/javelin/markup.php
@@ -74,7 +74,7 @@
$body = array();
$http_method = idx($attributes, 'method');
- $is_post = (strcasecmp($http_method, 'POST') === 0);
+ $is_post = $http_method && (strcasecmp($http_method, 'POST') === 0);
$http_action = idx($attributes, 'action');
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 20, 00:31 (19 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
979551
Default Alt Text
D25319.1732062685.diff (444 B)
Attached To
Mode
D25319: Make src/infrastructure/javelin/markup.php phabricator_form PHP 8.1 compliant
Attached
Detach File
Event Timeline
Log In to Comment