diff --git a/src/applications/maniphest/controller/taskedit/ManiphestTaskEditController.php b/src/applications/maniphest/controller/taskedit/ManiphestTaskEditController.php index bcf43ef7a3..16638d8119 100644 --- a/src/applications/maniphest/controller/taskedit/ManiphestTaskEditController.php +++ b/src/applications/maniphest/controller/taskedit/ManiphestTaskEditController.php @@ -136,8 +136,10 @@ class ManiphestTaskEditController extends ManiphestController { $transactions[] = $transaction; } - $editor = new ManiphestTransactionEditor(); - $editor->applyTransactions($task, $transactions); + if ($transactions) { + $editor = new ManiphestTransactionEditor(); + $editor->applyTransactions($task, $transactions); + } return id(new AphrontRedirectResponse()) ->setURI('/T'.$task->getID());