From 5f7ee505b6b71faf7e7ec82ce2ff6c0acb304a82 Mon Sep 17 00:00:00 2001 From: epriestley Date: Tue, 5 May 2015 13:03:15 -0700 Subject: [PATCH] Revert a third json_decode() which decodes possible scalars See D12714, D12680. Auditors: joshuaspence --- .../metamta/contentsource/PhabricatorContentSource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/metamta/contentsource/PhabricatorContentSource.php b/src/applications/metamta/contentsource/PhabricatorContentSource.php index ce2341186c..a1cbd061f2 100644 --- a/src/applications/metamta/contentsource/PhabricatorContentSource.php +++ b/src/applications/metamta/contentsource/PhabricatorContentSource.php @@ -32,7 +32,7 @@ final class PhabricatorContentSource { } public static function newFromSerialized($serialized) { - $dict = phutil_json_decode($serialized); + $dict = json_decode($serialized, true); if (!is_array($dict)) { $dict = array(); }