diff options
Diffstat (limited to 'application/models/BootOsMapper.php')
| -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)); } |
