summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/models/BootMenuMapper.php2
-rw-r--r--application/models/MembershipMapper.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/application/models/BootMenuMapper.php b/application/models/BootMenuMapper.php
index 1730181..1717cf6 100644
--- a/application/models/BootMenuMapper.php
+++ b/application/models/BootMenuMapper.php
@@ -78,7 +78,7 @@ class Application_Model_BootMenuMapper
if (null === ($id = $botmenu->getID()) ) {
unset($data['bootmenuID']);
- $this->getDbTable()->insert($data);
+ return $this->getDbTable()->insert($data);
} else {
$this->getDbTable()->update($data, array('bootmenuID = ?' => $id));
}
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));
}