]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Possible workaround for null 'changes'.
authorepriestley <epriestley@phabricator.com>
Mon, 28 Feb 2011 19:33:22 +0000 (11:33 -0800)
committerepriestley <epriestley@phabricator.com>
Mon, 28 Feb 2011 19:33:22 +0000 (11:33 -0800)
Summary:

Test Plan:

Reviewers:

CC:

src/parser/diff/hunk/ArcanistDiffHunk.php

index 4b8af2115d663ea888c332889d009e18990a7f38..e634f6212cc1d4d6ab5e2cb7358decbff028fbfa 100644 (file)
@@ -43,7 +43,7 @@ class ArcanistDiffHunk {
       'delLines'  => $this->delLines,
       'isMissingOldNewline' => $this->isMissingOldNewline,
       'isMissingNewNewline' => $this->isMissingNewNewline,
-      'corpus' => $this->corpus,
+      'corpus'    => (string)$this->corpus,
     );
   }