mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
Merge remote-tracking branch 'origin/support/3.0' into develop
# Conflicts: # tests/php-unit-tests/unitary-tests/webservices/RestTest.php
This commit is contained in:
@@ -260,7 +260,6 @@ $sCallback = utils::ReadParam('callback', null);
|
||||
if ($sCallback == null)
|
||||
{
|
||||
$oP = new JsonPage();
|
||||
$oP->SetOutputDataOnly(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -268,6 +267,7 @@ else
|
||||
}
|
||||
$oP->add_header('Access-Control-Allow-Origin: *');
|
||||
$oP->SetData(json_decode($sResponse, true));
|
||||
$oP->SetOutputDataOnly(true);
|
||||
$oP->Output();
|
||||
|
||||
// Log usage
|
||||
|
||||
Reference in New Issue
Block a user