mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 12:00:55 +01:00
Fix EditEngine preview/draft for first comment on a task you didn't create
Summary: Ref T9132. See T9908#147038. Test Plan: - As user A, created a new task. - As user B, started typing a comment on it (with no prior activity). - Users A and B must be different. Before patch: preview/draft don't work, trace in error log (see above). After patch: preview/draft work. Reviewers: chad Reviewed By: chad Maniphest Tasks: T9132 Differential Revision: https://secure.phabricator.com/D14678
This commit is contained in:
parent
6e7940cea2
commit
1fcdcddd5f
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ final class PhabricatorVersionedDraft extends PhabricatorDraftDAO {
|
|||
return id(new PhabricatorVersionedDraft())
|
||||
->setObjectPHID($object_phid)
|
||||
->setAuthorPHID($viewer_phid)
|
||||
->setVersion($version)
|
||||
->setVersion((int)$version)
|
||||
->save();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue