From 5b45ed8ae955d78c7f5e820adf9c3c1a70dbfa00 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Thu, 15 Nov 2018 12:08:33 -0500
Subject: [PATCH] Make sure we get XML back.

---
 .../VuFindAdmin/src/VuFindAdmin/Controller/AdminController.php  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/module/VuFindAdmin/src/VuFindAdmin/Controller/AdminController.php b/module/VuFindAdmin/src/VuFindAdmin/Controller/AdminController.php
index 5c431ad8c17..ef019c79411 100644
--- a/module/VuFindAdmin/src/VuFindAdmin/Controller/AdminController.php
+++ b/module/VuFindAdmin/src/VuFindAdmin/Controller/AdminController.php
@@ -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();
-- 
GitLab