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:
parent
129d16f2b9
commit
3b3bc825de
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue