1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 09:18:48 +02:00

Fix a Paste activate/archive status constant in rendering

Summary: Fixes T11280. I extracted this at the last minute and got the constant flipped.

Test Plan: Archived, then activated a paste. Observed correct timeline stories/icons/etc.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11280

Differential Revision: https://secure.phabricator.com/D16240
This commit is contained in:
epriestley 2016-07-06 03:59:51 -07:00
parent 0569938880
commit 38c290a241

View file

@ -14,7 +14,7 @@ final class PhabricatorPasteStatusTransaction
}
private function isActivate() {
return ($this->getNewValue() == PhabricatorPaste::STATUS_ARCHIVED);
return ($this->getNewValue() == PhabricatorPaste::STATUS_ACTIVE);
}
public function getIcon() {