BUG 6400 Replacing json_encode|json_decode by their G implementations
This fixes the problem of some pages of ProcessMaker not working on PHP 5.1, since there is no json_encode or json_decode native functions on PHP 5.1.
This commit is contained in:
@@ -14,5 +14,5 @@ if (isset($_GET['tid'] ))
|
||||
array_shift($rows);
|
||||
$result['totalCount'] = count($rows);
|
||||
$result['data'] = $rows;
|
||||
print json_encode($result);
|
||||
print G::json_encode($result);
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user