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