Page MenuHomePhabricator

D14678.id35502.diff
No OneTemporary

D14678.id35502.diff

diff --git a/src/applications/draft/storage/PhabricatorVersionedDraft.php b/src/applications/draft/storage/PhabricatorVersionedDraft.php
--- a/src/applications/draft/storage/PhabricatorVersionedDraft.php
+++ b/src/applications/draft/storage/PhabricatorVersionedDraft.php
@@ -58,7 +58,7 @@
return id(new PhabricatorVersionedDraft())
->setObjectPHID($object_phid)
->setAuthorPHID($viewer_phid)
- ->setVersion($version)
+ ->setVersion((int)$version)
->save();
}

File Metadata

Mime Type
text/plain
Expires
Sat, Feb 1, 2:53 PM (20 h, 59 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7082095
Default Alt Text
D14678.id35502.diff (501 B)

Event Timeline