summaryrefslogtreecommitdiffstats
path: root/application/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers')
-rw-r--r--application/controllers/EventController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/controllers/EventController.php b/application/controllers/EventController.php
index 4d4759d..6925403 100644
--- a/application/controllers/EventController.php
+++ b/application/controllers/EventController.php
@@ -208,7 +208,7 @@ class EventController extends Zend_Controller_Action
$bootosobj->setTitle(sprintf("%s", $bootos->title));
$bootoslist[$bootosobj->getID()] = $bootosobj;
}
- $poolApiResult = PostToHost($this->pbs2host, $this->config['pbs2']['getbootoss'] . $this->config['pbs2']['apikey'], 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'], 'poolctrl', '');
+ $poolApiResult = PostToHost($this->pbs2host, $this->config['pbs2']['getpools'] . $this->config['pbs2']['apikey'], 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'], 'poolctrl', '');
$poolXMLString = $poolApiResult['http-body'];
$poolXML = new SimpleXMLElement($poolXMLString);
foreach($poolXML->poollist->pool as $pool) {