Revert a third json_decode() which decodes possible scalars
See D12714, D12680. Auditors: joshuaspence
This commit is contained in:
parent
14af40afa0
commit
5f7ee505b6
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue