summaryrefslogtreecommitdiffstats
path: root/application/models/MembershipMapper.php
diff options
context:
space:
mode:
authormichael pereira2011-04-11 14:29:29 +0200
committermichael pereira2011-04-11 14:29:29 +0200
commit4d63a9525b3601dbd2e24328c1ef250ad605765d (patch)
tree02179f65307191d7ae3997c38a5276ced038b134 /application/models/MembershipMapper.php
parentkcl fix im ressource controller (diff)
parentMerge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff)
downloadpbs2-4d63a9525b3601dbd2e24328c1ef250ad605765d.tar.gz
pbs2-4d63a9525b3601dbd2e24328c1ef250ad605765d.tar.xz
pbs2-4d63a9525b3601dbd2e24328c1ef250ad605765d.zip
Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2
Diffstat (limited to 'application/models/MembershipMapper.php')
-rw-r--r--application/models/MembershipMapper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/models/MembershipMapper.php b/application/models/MembershipMapper.php
index 67b4985..94f5236 100644
--- a/application/models/MembershipMapper.php
+++ b/application/models/MembershipMapper.php
@@ -78,7 +78,7 @@ class Application_Model_MembershipMapper
if (null === ($id = $membership->getID()) ) {
unset($data['membershipID']);
- $this->getDbTable()->insert($data);
+ return $this->getDbTable()->insert($data);
} else {
$this->getDbTable()->update($data, array('membershipID = ?' => $id));
}