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:
Alexandre Rosenfeld
2011-04-19 16:26:20 -04:00
parent f6124fa30d
commit 50bf854bee
29 changed files with 112 additions and 112 deletions

View File

@@ -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);
?>