From 336ccfeea12eded8980716c3b65833f921705d98 Mon Sep 17 00:00:00 2001 From: epriestley Date: Tue, 5 May 2015 13:12:30 -0700 Subject: [PATCH] Revert a fourth json_decode() which decodes possible scalars See D12714, D12680. Auditors: joshuaspence --- .../conduit/DifferentialSetDiffPropertyConduitAPIMethod.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/differential/conduit/DifferentialSetDiffPropertyConduitAPIMethod.php b/src/applications/differential/conduit/DifferentialSetDiffPropertyConduitAPIMethod.php index d6e326fe5d..d79be1363d 100644 --- a/src/applications/differential/conduit/DifferentialSetDiffPropertyConduitAPIMethod.php +++ b/src/applications/differential/conduit/DifferentialSetDiffPropertyConduitAPIMethod.php @@ -86,7 +86,7 @@ final class DifferentialSetDiffPropertyConduitAPIMethod protected function execute(ConduitAPIRequest $request) { $diff_id = $request->getValue('diff_id'); $name = $request->getValue('name'); - $data = phutil_json_decode($request->getValue('data')); + $data = json_decode($request->getValue('data'), true); self::updateDiffProperty($diff_id, $name, $data);