summaryrefslogtreecommitdiffstats
path: root/application/models
diff options
context:
space:
mode:
authormichael pereira2011-03-09 20:53:33 +0100
committermichael pereira2011-03-09 20:53:33 +0100
commit67a08738a5f688f1050b83572a717c727e7d29c3 (patch)
tree04eb412293dbcd7b645fc52d615413e22bbb3d89 /application/models
parentController Validation fix (diff)
downloadpbs2-67a08738a5f688f1050b83572a717c727e7d29c3.tar.gz
pbs2-67a08738a5f688f1050b83572a717c727e7d29c3.tar.xz
pbs2-67a08738a5f688f1050b83572a717c727e7d29c3.zip
KCL und BootMenuFilter
Diffstat (limited to 'application/models')
-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 a6e9a7f..66de08d 100644
--- a/application/models/BootOsMapper.php
+++ b/application/models/BootOsMapper.php
@@ -14,7 +14,9 @@ class Application_Model_BootOsMapper
->where($criteria . ' = ?', $value);
$stmt = $select->query();
$result = $stmt->fetchAll();
+
return $result;
+
}catch (Zend_Exception $e) {
echo "Error message 2: " . $e->getMessage() . "\n";
}
@@ -87,7 +89,7 @@ class Application_Model_BootOsMapper
$entry->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);
- $entries[] = $entry;
+ $entries[$row->bootosID] = $entry;
}
return $entries;
}