Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Api is not sending the default success message. Fix #715
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Nov 21, 2014
1 parent 2e8be4d commit 40d741d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion core/src/rest.php
Expand Up @@ -86,4 +86,9 @@
}
AJXP_PluginsService::getInstance()->initActivePlugins();

AJXP_Controller::findRestActionAndApply($action, $path);
$xmlResult = AJXP_Controller::findRestActionAndApply($action, $path);
if (!empty($xmlResult) && !headers_sent()) {
AJXP_XMLWriter::header();
print($xmlResult);
AJXP_XMLWriter::close();
}

0 comments on commit 40d741d

Please sign in to comment.