mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-26 15:30:58 +01:00
Revert a fourth json_decode() which decodes possible scalars
See D12714, D12680. Auditors: joshuaspence
This commit is contained in:
parent
5f7ee505b6
commit
336ccfeea1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue