Page MenuHomePhabricator

D21522.id51229.diff
No OneTemporary

D21522.id51229.diff

diff --git a/src/applications/differential/conduit/DifferentialCreateInlineConduitAPIMethod.php b/src/applications/differential/conduit/DifferentialCreateInlineConduitAPIMethod.php
--- a/src/applications/differential/conduit/DifferentialCreateInlineConduitAPIMethod.php
+++ b/src/applications/differential/conduit/DifferentialCreateInlineConduitAPIMethod.php
@@ -100,7 +100,7 @@
->setChangesetID($cid)
->setAuthorPHID($request->getUser()->getPHID())
->setContent($request->getValue('content'))
- ->setIsNewFile($request->getValue('isNewFile'))
+ ->setIsNewFile((int)$request->getValue('isNewFile'))
->setLineNumber($request->getValue('lineNumber'))
->setLineLength($request->getValue('lineLength', 0))
->save();

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 23, 1:34 PM (16 h, 32 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6778631
Default Alt Text
D21522.id51229.diff (765 B)

Event Timeline