2011-09-08 Miguel de Dios <miguel.dedios@artica.es>

* include/functions_api.php: fixed output of api without html entities.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4948 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2011-09-13 17:32:44 +00:00
parent 129d16f2b9
commit 3b3bc825de
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2011-09-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php: fixed output of api without html entities.
2011-09-13 Sergio Martin <sergio.martin@artica.es>
* images/status_sets/faces/module_no_data.png

View File

@ -121,7 +121,10 @@ function returnData($returnType, $data, $separator = ';') {
}
else {
foreach($data['data'] as $dataContent) {
echo implode($separator, $dataContent) . "\n";
$clean = array_map(
function($item) {return io_safe_output($item);},
$dataContent);
echo implode($separator, $clean) . "\n";
}
}
break;