Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F4314031
D26029.1748057013.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
691 B
Referenced Files
None
Subscribers
None
D26029.1748057013.diff
View Options
diff --git a/src/view/form/control/AphrontFormDateControlValue.php b/src/view/form/control/AphrontFormDateControlValue.php
--- a/src/view/form/control/AphrontFormDateControlValue.php
+++ b/src/view/form/control/AphrontFormDateControlValue.php
@@ -63,8 +63,8 @@
$value = new AphrontFormDateControlValue();
$value->viewer = $request->getViewer();
- $date = $request->getStr($key.'_d');
- $time = $request->getStr($key.'_t');
+ $date = $request->getStr($key.'_d', '');
+ $time = $request->getStr($key.'_t', '');
// If we have the individual parts, we read them preferentially. If we do
// not, try to read the key as a raw value. This makes it so that HTTP
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, May 24, 03:23 (10 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1640989
Default Alt Text
D26029.1748057013.diff (691 B)
Attached To
Mode
D26029: AphrontFormDateControlValue: fix PHP 8.1 strlen(null) from AphrontFormDateControlValue.php:72
Attached
Detach File
Event Timeline
Log In to Comment