Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15453926
D8391.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
629 B
Referenced Files
None
Subscribers
None
D8391.diff
View Options
Index: src/applications/maniphest/conduit/ConduitAPI_maniphest_update_Method.php
===================================================================
--- src/applications/maniphest/conduit/ConduitAPI_maniphest_update_Method.php
+++ src/applications/maniphest/conduit/ConduitAPI_maniphest_update_Method.php
@@ -49,9 +49,8 @@
$params = $request->getAllParameters();
unset($params['id']);
unset($params['phid']);
- $params = call_user_func_array('coalesce', $params);
- if (!$params) {
+ if (call_user_func_array('coalesce', $params) === null) {
throw new ConduitException('ERR-NO-EFFECT');
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 30, 3:10 PM (2 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7391508
Default Alt Text
D8391.diff (629 B)
Attached To
Mode
D8391: Check for null, strictly, in maniphest.update param validation
Attached
Detach File
Event Timeline
Log In to Comment