diff --git a/src/applications/conduit/protocol/request/ConduitAPIRequest.php b/src/applications/conduit/protocol/request/ConduitAPIRequest.php index 4a8d3874af..1393f35908 100644 --- a/src/applications/conduit/protocol/request/ConduitAPIRequest.php +++ b/src/applications/conduit/protocol/request/ConduitAPIRequest.php @@ -26,7 +26,7 @@ class ConduitAPIRequest { } public function getValue($key) { - return $this->params[$key]; + return idx($this->params, $key); } public function getAllParameters() { diff --git a/src/applications/conduit/protocol/request/__init__.php b/src/applications/conduit/protocol/request/__init__.php index 5aa52afcf9..fa0da2a745 100644 --- a/src/applications/conduit/protocol/request/__init__.php +++ b/src/applications/conduit/protocol/request/__init__.php @@ -6,5 +6,7 @@ +phutil_require_module('phutil', 'utils'); + phutil_require_source('ConduitAPIRequest.php');