1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-27 07:50:57 +01:00

Revert a fourth json_decode() which decodes possible scalars

See D12714, D12680.

Auditors: joshuaspence
This commit is contained in:
epriestley 2015-05-05 13:12:30 -07:00
parent 5f7ee505b6
commit 336ccfeea1

View file

@ -86,7 +86,7 @@ final class DifferentialSetDiffPropertyConduitAPIMethod
protected function execute(ConduitAPIRequest $request) { protected function execute(ConduitAPIRequest $request) {
$diff_id = $request->getValue('diff_id'); $diff_id = $request->getValue('diff_id');
$name = $request->getValue('name'); $name = $request->getValue('name');
$data = phutil_json_decode($request->getValue('data')); $data = json_decode($request->getValue('data'), true);
self::updateDiffProperty($diff_id, $name, $data); self::updateDiffProperty($diff_id, $name, $data);