1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-22 05:20:56 +01:00

Revert a third json_decode() which decodes possible scalars

See D12714, D12680.

Auditors: joshuaspence
This commit is contained in:
epriestley 2015-05-05 13:03:15 -07:00
parent 14af40afa0
commit 5f7ee505b6

View file

@ -32,7 +32,7 @@ final class PhabricatorContentSource {
} }
public static function newFromSerialized($serialized) { public static function newFromSerialized($serialized) {
$dict = phutil_json_decode($serialized); $dict = json_decode($serialized, true);
if (!is_array($dict)) { if (!is_array($dict)) {
$dict = array(); $dict = array();
} }