summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorBjörn Geiger2011-08-09 13:49:00 +0200
committerBjörn Geiger2011-08-09 13:49:00 +0200
commit20ce6007ccf107f71edd7e2991c6379109f3f534 (patch)
tree9c691f158982fd1c1c8f6e4c6631ccc15e1334d8 /application
parentund nochmals eine Korrektur (diff)
downloadpoolctrl-20ce6007ccf107f71edd7e2991c6379109f3f534.tar.gz
poolctrl-20ce6007ccf107f71edd7e2991c6379109f3f534.tar.xz
poolctrl-20ce6007ccf107f71edd7e2991c6379109f3f534.zip
minor
Diffstat (limited to 'application')
-rw-r--r--application/controllers/EventController.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/application/controllers/EventController.php b/application/controllers/EventController.php
index 69d0731..3e878e9 100644
--- a/application/controllers/EventController.php
+++ b/application/controllers/EventController.php
@@ -223,14 +223,14 @@ class EventController extends Zend_Controller_Action
$filterentriesApiResult2 = PostToHost($this->pbs2host, $this->config['pbs2']['addfilterentry'] . $this->userIDsNamespace['apikey'], 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'], 'poolctrl', $filterentriesquery2);
$filterentriesXMLString2 = $filterentriesApiResult2['http-body'];
$filterentriesXML2 = new SimpleXMLElement($filterentriesXMLString2);
- $filterentriesID2 = sprintf("%s", $filterentriesXML2->filterentriesid);
+ $filterentriesID2 = sprintf("%s", $filterentriesXML2->filterentryid);
if($event->getRepeat()) {
$weekday = date('N', strtotime($event->getStart()));
$filterentriesquery3 = "filterID=" . $event->getPbs_filterID() . "&filtertypeID=10&filtervalue=" . $weekday . "&filtervalue2=" . $weekday;
$filterentriesApiResult3 = PostToHost($this->pbs2host, $this->config['pbs2']['addfilterentry'] . $this->userIDsNamespace['apikey'], 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'], 'poolctrl', $filterentriesquery3);
$filterentriesXMLString3 = $filterentriesApiResult3['http-body'];
$filterentriesXML3 = new SimpleXMLElement($filterentriesXMLString3);
- $filterentriesID3 = sprintf("%s", $filterentriesXML3->filterentriesid);
+ $filterentriesID3 = sprintf("%s", $filterentriesXML3->filterentryid);
} else {
$startDate = date('Y-m-d', strtotime($event->getStart()));
if($event->getEnd()) {
@@ -242,7 +242,7 @@ class EventController extends Zend_Controller_Action
$filterentriesApiResult3 = PostToHost($this->pbs2host, $this->config['pbs2']['addfilterentry'] . $this->userIDsNamespace['apikey'], 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'], 'poolctrl', $filterentriesquery3);
$filterentriesXMLString3 = $filterentriesApiResult3['http-body'];
$filterentriesXML3 = new SimpleXMLElement($filterentriesXMLString3);
- $filterentriesID3 = sprintf("%s", $filterentriesXML3->filterentriesid);
+ $filterentriesID3 = sprintf("%s", $filterentriesXML3->filterentryid);
}
try {
$eventID = $this->eventMapper->save($event);