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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user