Page MenuHomePhorge

D25224.1739179700.diff
No OneTemporary

D25224.1739179700.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,11 @@
switch ($row['transactionType']) {
case ManiphestTaskStatusTransaction::TRANSACTIONTYPE:
// NOTE: Hack to avoid json_decode().
- $oldv = trim($row['oldValue'], '"');
+ if ($row['oldValue'] !== null) {
+ $oldv = trim($row['oldValue'], '"');
+ } else {
+ $oldv = null;
+ }
$newv = trim($row['newValue'], '"');
break;
case ManiphestTaskMergedIntoTransaction::TRANSACTIONTYPE:

File Metadata

Mime Type
text/plain
Expires
Mon, Feb 10, 09:28 (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1147213
Default Alt Text
D25224.1739179700.diff (810 B)

Event Timeline