From: epriestley Date: Mon, 28 Feb 2011 19:33:22 +0000 (-0800) Subject: Possible workaround for null 'changes'. X-Git-Tag: conduit-4~387 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=482db3a83c8d4127fb23e99028c0632af6f4df05;p=arcanist.git Possible workaround for null 'changes'. Summary: Test Plan: Reviewers: CC: --- diff --git a/src/parser/diff/hunk/ArcanistDiffHunk.php b/src/parser/diff/hunk/ArcanistDiffHunk.php index 4b8af211..e634f621 100644 --- a/src/parser/diff/hunk/ArcanistDiffHunk.php +++ b/src/parser/diff/hunk/ArcanistDiffHunk.php @@ -43,7 +43,7 @@ class ArcanistDiffHunk { 'delLines' => $this->delLines, 'isMissingOldNewline' => $this->isMissingOldNewline, 'isMissingNewNewline' => $this->isMissingNewNewline, - 'corpus' => $this->corpus, + 'corpus' => (string)$this->corpus, ); }