Skip to content
Snippets Groups Projects
Commit 5b45ed8a authored by Demian Katz's avatar Demian Katz
Browse files

Make sure we get XML back.

parent 2048d05c
No related merge requests found
......@@ -59,7 +59,7 @@ class AdminController extends AbstractAdmin
$xml = false;
if (isset($config->Index->url)) {
$response = $this->serviceLocator->get('VuFindHttp\HttpService')
->get($config->Index->url . '/admin/cores');
->get($config->Index->url . '/admin/cores?wt=xml');
$xml = $response->isSuccess() ? $response->getBody() : false;
}
$view = $this->createViewModel();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment