Fix attachObject bug

Summary: so it was said in IRC and so it is true

Test Plan: saving maniphest tasks with custom fields no longer barfs

Reviewers: epriestley

Reviewed By: epriestley

CC: Korvin, epriestley, aran

Differential Revision: https://secure.phabricator.com/D8279
This commit is contained in:
Bob Trahan
2014-02-19 11:56:41 -08:00
parent 1845798771
commit c904e04f89

View File

@@ -423,6 +423,7 @@ abstract class PhabricatorApplicationTransactionEditor
$xaction->setAuthorPHID($actor->getPHID()); $xaction->setAuthorPHID($actor->getPHID());
$xaction->setContentSource($this->getContentSource()); $xaction->setContentSource($this->getContentSource());
$xaction->attachViewer($this->getActor()); $xaction->attachViewer($this->getActor());
$xaction->attachObject($object);
} }
$is_preview = $this->getIsPreview(); $is_preview = $this->getIsPreview();