Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2682418
D25224.1734658961.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
778 B
Referenced Files
None
Subscribers
None
D25224.1734658961.diff
View Options
diff --git a/src/applications/maniphest/controller/ManiphestReportController.php b/src/applications/maniphest/controller/ManiphestReportController.php
--- a/src/applications/maniphest/controller/ManiphestReportController.php
+++ b/src/applications/maniphest/controller/ManiphestReportController.php
@@ -186,7 +186,10 @@
switch ($row['transactionType']) {
case ManiphestTaskStatusTransaction::TRANSACTIONTYPE:
// NOTE: Hack to avoid json_decode().
- $oldv = trim($row['oldValue'], '"');
+ $oldv = $row['oldValue'];
+ if ($oldv !== null) {
+ $oldv = trim($oldv, '"');
+ }
$newv = trim($row['newValue'], '"');
break;
case ManiphestTaskMergedIntoTransaction::TRANSACTIONTYPE:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 01:42 (21 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1016340
Default Alt Text
D25224.1734658961.diff (778 B)
Attached To
Mode
D25224: Fix PHP 8.1 "trim(null)" exception which blocks rendering Reports' Burnup Rate page
Attached
Detach File
Event Timeline
Log In to Comment