From 4234c6f306ed6f25069e0b5cc6edc40c7dacb564 Mon Sep 17 00:00:00 2001 From: Silvio Date: Fri, 9 Apr 2010 15:50:43 -0300 Subject: Initial code for perl backend --- classes/PhpIsisDb.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'classes/PhpIsisDb.php') 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; } } -- cgit v1.2.3