summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorBjörn Geiger2011-06-27 16:27:04 +0200
committerBjörn Geiger2011-06-27 16:27:04 +0200
commit4b19ed720a43505bb7257e8514115e3e55ccb991 (patch)
tree160052cd837b961449cd6391224af5ebbde92ead /application
parentEvent Controller mit Actions hinzugefügt (diff)
downloadpoolctrl-4b19ed720a43505bb7257e8514115e3e55ccb991.tar.gz
poolctrl-4b19ed720a43505bb7257e8514115e3e55ccb991.tar.xz
poolctrl-4b19ed720a43505bb7257e8514115e3e55ccb991.zip
minor
Diffstat (limited to 'application')
-rw-r--r--application/controllers/EventController.php10
-rw-r--r--application/models/EventMapper.php2
2 files changed, 11 insertions, 1 deletions
diff --git a/application/controllers/EventController.php b/application/controllers/EventController.php
index 85338f8..45da0c3 100644
--- a/application/controllers/EventController.php
+++ b/application/controllers/EventController.php
@@ -1,4 +1,14 @@
<?php
+/*
+ * Copyright (c) 2011 - OpenSLX GmbH, RZ Uni Freiburg
+ * This program is free software distributed under the GPL version 2.
+ * See http://gpl.openslx.org/
+ *
+ * If you have any feedback please consult http://feedback.openslx.org/ and
+ * send your suggestions, praise, or complaints to feedback@openslx.org
+ *
+ * General information about OpenSLX can be found at http://openslx.org/
+ */
class EventController extends Zend_Controller_Action
{
diff --git a/application/models/EventMapper.php b/application/models/EventMapper.php
index ff3bc0c..b0e3017 100644
--- a/application/models/EventMapper.php
+++ b/application/models/EventMapper.php
@@ -127,7 +127,7 @@ class Application_Model_EventMapper
foreach ($resultSet as $row) {
$entry = new Application_Model_Event();
- $entry->setID($row->eventID)->setCategory($row->category)->setTitle($row->title)->setPbsMembershipID($row->pbs_membership)->setEnd($row->end)->setImmediate($row->immediate)->setNote($row->note)->setParticipants($row->participants)->setPbsBootosID($row->pbs_bootosID)->setPbsPoolID($row->pbs_poolID)->setRepeat($row->repeat)->setStart($row->start);
+ $entrys->setID($row->eventID)->setCategory($row->category)->setTitle($row->title)->setPbsMembershipID($row->pbs_membership)->setEnd($row->end)->setImmediate($row->immediate)->setNote($row->note)->setParticipants($row->participants)->setPbsBootosID($row->pbs_bootosID)->setPbsPoolID($row->pbs_poolID)->setRepeat($row->repeat)->setStart($row->start);
$entries[$row->eventID] = $entry;
}