Page MenuHomePhorge

D25224.1734658961.diff
No OneTemporary

D25224.1734658961.diff

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

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)

Event Timeline