diff options
| author | michael pereira | 2011-03-11 10:02:36 +0100 |
|---|---|---|
| committer | michael pereira | 2011-03-11 10:02:36 +0100 |
| commit | 4ec30e83c446ddf0758f015d9ad5c5aebd2f0ca6 (patch) | |
| tree | 12b382b5eba4b864825875df9f36a7026f95a18d /application/models | |
| parent | Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff) | |
| download | pbs2-4ec30e83c446ddf0758f015d9ad5c5aebd2f0ca6.tar.gz pbs2-4ec30e83c446ddf0758f015d9ad5c5aebd2f0ca6.tar.xz pbs2-4ec30e83c446ddf0758f015d9ad5c5aebd2f0ca6.zip | |
bootos getressources
Diffstat (limited to 'application/models')
| -rw-r--r-- | application/models/BootOsMapper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/models/BootOsMapper.php b/application/models/BootOsMapper.php index 66de08d..fab73f2 100644 --- a/application/models/BootOsMapper.php +++ b/application/models/BootOsMapper.php @@ -51,7 +51,7 @@ class Application_Model_BootOsMapper $data = array('bootosID'=> $botos->getID() ,'configID'=> $botos->getConfigID() ,'groupID'=> $botos->getGroupID() ,'title'=> $botos->getTitle(), 'membershipID'=> $botos->getMembershipID() ,'path_init'=> $botos->getPath_init() ,'path_kernel'=> $botos->getPath_kernel() ,'defaultkcl'=> $botos->getDefaultkcl() ,'created'=> $botos->getCreated() ,'description'=> $botos->getDescription() ,'expires'=> $botos->getExpires() ,'public'=> $botos->getPublic() ); if (null === ($id = $botos->getID()) ) { unset($data['bootosID']); - $this->getDbTable()->insert($data); + return $this->getDbTable()->insert($data); } else { $this->getDbTable()->update($data, array('bootosID = ?' => $id)); } |
