summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorSimon2011-03-16 17:59:26 +0100
committerSimon2011-03-16 17:59:26 +0100
commitc58a1d0cef4b2088bb35fe0e37c047cad6331b4f (patch)
tree0f11e79b93ba54efbccbf5566fe8e9605e08b87a /application
parentLib umbenannt und beispielverwendung korrigiert (diff)
downloadpbs2-c58a1d0cef4b2088bb35fe0e37c047cad6331b4f.tar.gz
pbs2-c58a1d0cef4b2088bb35fe0e37c047cad6331b4f.tar.xz
pbs2-c58a1d0cef4b2088bb35fe0e37c047cad6331b4f.zip
ClientMapper return value
Diffstat (limited to 'application')
-rw-r--r--application/models/ClientMapper.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/models/ClientMapper.php b/application/models/ClientMapper.php
index 2c530d9..e3bb25d 100644
--- a/application/models/ClientMapper.php
+++ b/application/models/ClientMapper.php
@@ -55,9 +55,9 @@ class Application_Model_ClientMapper
if (null === ($id = $client->getID()) ) {
unset($data['clientID']);
- $this->getDbTable()->insert($data);
+ return $this->getDbTable()->insert($data);
} else {
- $this->getDbTable()->update($data, array('clientID = ?' => $id));
+ return $this->getDbTable()->update($data, array('clientID = ?' => $id));
}
}