summaryrefslogtreecommitdiffstats
path: root/application/controllers/EventController.php
diff options
context:
space:
mode:
authorBjörn Geiger2011-09-22 16:01:01 +0200
committerBjörn Geiger2011-09-22 16:01:01 +0200
commite1821ddb88c0af20b46200c499e12b97a93baa3c (patch)
tree4c40d5485ae0d6446bd4045f7b675bede894e8ae /application/controllers/EventController.php
parentshow repeat Events (diff)
downloadpoolctrl-e1821ddb88c0af20b46200c499e12b97a93baa3c.tar.gz
poolctrl-e1821ddb88c0af20b46200c499e12b97a93baa3c.tar.xz
poolctrl-e1821ddb88c0af20b46200c499e12b97a93baa3c.zip
minor
Diffstat (limited to 'application/controllers/EventController.php')
-rwxr-xr-xapplication/controllers/EventController.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/application/controllers/EventController.php b/application/controllers/EventController.php
index 68e882e..454e1fd 100755
--- a/application/controllers/EventController.php
+++ b/application/controllers/EventController.php
@@ -644,9 +644,10 @@ class EventController extends Zend_Controller_Action
public function getrepeateventsAction() {
$this->_helper->layout->disableLayout();
+ $this->_helper->viewRenderer->setNoRender();
$eventTitle = $this->_request->getParam("title");
$events = $this->eventMapper->findBy(array('title' => $eventTitle, 'repeat' => 1));
- $this->view->events = $events;
+ echo json_encode($events);
}
/*