1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 00:42:41 +01:00

Revert a json_decode() which decodes possible scalars

See D12714, D12680.

Auditors: joshuaspence
This commit is contained in:
epriestley 2015-05-05 11:07:28 -07:00
parent cebf459865
commit 31a89bb94d

View file

@ -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;
}