1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-02 19:01:03 +01:00

Minor, fix some obvious derp from the attachment patch.

This commit is contained in:
epriestley 2012-03-05 16:44:11 -08:00
parent 756faad2aa
commit 831133e880

View file

@ -94,6 +94,12 @@ abstract class DifferentialReviewRequestMail extends DifferentialMail {
$attachments = array();
if (PhabricatorEnv::getEnvConfig('metamta.differential.attach-patches')) {
$revision_id = $this->getRevision()->getID();
$diffs = $revision->loadDiffs();
$diff_number = count($diffs);
$attachments[] = new PhabricatorMetaMTAAttachment(
$this->buildPatch(),
"D{$revision_id}.{$diff_number}.patch",