summaryrefslogtreecommitdiffstats
path: root/application/models/BootOsMapper.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/models/BootOsMapper.php')
-rw-r--r--application/models/BootOsMapper.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/application/models/BootOsMapper.php b/application/models/BootOsMapper.php
index 2f43916..a6e9a7f 100644
--- a/application/models/BootOsMapper.php
+++ b/application/models/BootOsMapper.php
@@ -64,8 +64,9 @@ class Application_Model_BootOsMapper
}
}
- public function find($id, Application_Model_BootOs $botos)
+ public function find($id)
{
+ $botos = new Application_Model_BootOs();
$result = $this->getDbTable()->find($id);
if (0 == count($result)) {
return;
@@ -74,6 +75,7 @@ class Application_Model_BootOsMapper
$row = $result->current();
$botos->setID($row->bootosID)->setConfigID($row->configID)->setGroupID($row->groupID)->setMembershipID($row->membershipID)->setTitle($row->title)->setPath_init($row->path_init)->setPath_kernel($row->path_kernel)->setDefaultkcl($row->defaultkcl)->setCreated($row->created)->setDescription($row->description)->setExpires($row->expires)->setPublic($row->public);
+ return $botos;
}
public function fetchAll()