aboutsummaryrefslogtreecommitdiff
path: root/classes/PhpIsisDb.php
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-04-09 15:50:43 -0300
committerSilvio <silvio@devlet.com.br>2010-04-09 15:50:43 -0300
commit4234c6f306ed6f25069e0b5cc6edc40c7dacb564 (patch)
tree4533e3db68c28a06d400a6242fa142f42401acac /classes/PhpIsisDb.php
parent1996dbfb572285bbba3805fe9073d62a736615c2 (diff)
downloadcinisis-4234c6f306ed6f25069e0b5cc6edc40c7dacb564.tar.gz
cinisis-4234c6f306ed6f25069e0b5cc6edc40c7dacb564.tar.bz2
Initial code for perl backend
Diffstat (limited to 'classes/PhpIsisDb.php')
-rw-r--r--classes/PhpIsisDb.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/PhpIsisDb.php b/classes/PhpIsisDb.php
index 9e885d9..136b657 100644
--- a/classes/PhpIsisDb.php
+++ b/classes/PhpIsisDb.php
@@ -25,7 +25,7 @@ class PhpIsisDb implements IsisDb {
// Save db schema.
$this->format = $schema;
- // Setup $fdt used by malete.
+ // Setup $fdt.
foreach ($schema['fields'] as $field => $info) {
$this->fdt[$field] = $info['name'];
}
@@ -105,7 +105,7 @@ class PhpIsisDb implements IsisDb {
function tag($results) {
foreach ($results as $key => $value) {
if ($key != 'mfn') {
- $name = $this->format['fields'][$key]['name'];
+ $name = $this->format['fields'][$key]['name'];
$data[$name] = $value;
}
}