summaryrefslogtreecommitdiffstats
path: root/application/models/GroupRequestMapper.php
diff options
context:
space:
mode:
authormichael pereira2011-03-11 00:47:11 +0100
committermichael pereira2011-03-11 00:47:11 +0100
commit9610ae543038c263f657232d158476788f952144 (patch)
treee3ce7a6ab6ab80c1c913da9f27a4417c1464c2d2 /application/models/GroupRequestMapper.php
parentpostinit.local geaendert (diff)
parentso geändert, dass nur im eingeloggten Zustand verfügbar (diff)
downloadpbs2-9610ae543038c263f657232d158476788f952144.tar.gz
pbs2-9610ae543038c263f657232d158476788f952144.tar.xz
pbs2-9610ae543038c263f657232d158476788f952144.zip
Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2
Diffstat (limited to 'application/models/GroupRequestMapper.php')
-rw-r--r--application/models/GroupRequestMapper.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/application/models/GroupRequestMapper.php b/application/models/GroupRequestMapper.php
index aa83095..98143dd 100644
--- a/application/models/GroupRequestMapper.php
+++ b/application/models/GroupRequestMapper.php
@@ -66,7 +66,7 @@ class Application_Model_GroupRequestMapper
}
}
- public function find($id, Application_Model_GroupRequest $grouprequest)
+ public function find($id)
{
$result = $this->getDbTable()->find($id);
if (0 == count($result)) {
@@ -75,7 +75,9 @@ class Application_Model_GroupRequestMapper
$row = $result->current();
+ $grouprequest = new Application_Model_GroupRequest();
$grouprequest->setID($row->grouprequestID)->setGroupID($row->groupID)->setPersonID($row->personID)->setTime($row->time);
+ return $grouprequest;
}
public function fetchAll()