Fix: json is a fuck... sh... 3 hours to find a bug ! (json fails

without any warning when converting non utf8 strings).
This commit is contained in:
Laurent Destailleur
2012-10-18 16:30:12 +02:00
parent 0152e226c1
commit 657d0197b6
3 changed files with 50 additions and 12 deletions

View File

@@ -33,7 +33,8 @@ if (! function_exists('json_encode'))
*/
function json_encode($elements)
{
return dol_json_encode($elements);
return 'ttt';
//return dol_json_encode($elements);
}
}