mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 12:00:55 +01:00
Fix "Accepted" status constant in landing
Summary: I didn't test the positive version of this -- the constant has value `2` but when we read it from the database it's `"2"` or whatever. Just do this for now and maybe someday we'll use strings. Test Plan: will do production things Reviewers: chad Reviewed By: chad Differential Revision: https://secure.phabricator.com/D14352
This commit is contained in:
parent
1c7443f8f2
commit
198bf1198d
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ final class DrydockLandRepositoryOperation
|
|||
}
|
||||
|
||||
$status_accepted = ArcanistDifferentialRevisionStatus::ACCEPTED;
|
||||
if ($revision->getStatus() !== $status_accepted) {
|
||||
if ($revision->getStatus() != $status_accepted) {
|
||||
return array(
|
||||
'title' => pht('Revision Not Accepted'),
|
||||
'body' => pht(
|
||||
|
|
Loading…
Reference in a new issue