mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 16:52:41 +01:00
Revert a json_decode() which decodes possible scalars
See D12714, D12680. Auditors: joshuaspence
This commit is contained in:
parent
cebf459865
commit
31a89bb94d
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ final class PhabricatorWorkerLeaseQuery extends PhabricatorQuery {
|
|||
foreach ($data as $row) {
|
||||
$tasks[$row['id']]->setServerTime($row['_serverTime']);
|
||||
if ($row['_taskData']) {
|
||||
$task_data = phutil_json_decode($row['_taskData']);
|
||||
$task_data = json_decode($row['_taskData'], true);
|
||||
} else {
|
||||
$task_data = null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue