From eab2a84aa3532833851acd59d54b85496554ca82 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Fri, 25 Jul 2003 23:10:31 +0000 Subject: [PATCH] Se corrigen TABs. --- lib/AI/DBObject.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/AI/DBObject.php b/lib/AI/DBObject.php index 8d8297c..7c162c8 100644 --- a/lib/AI/DBObject.php +++ b/lib/AI/DBObject.php @@ -74,7 +74,7 @@ class AI_DBObject { */ function cargar($db) // ~X2C { - $id_field = $this->conf['id']; + $id_field = $this->conf['id']; $id = intval($this->$id_field); if (is_a($db, 'db_result')) { $result = $db; @@ -97,9 +97,9 @@ class AI_DBObject { "No hay más resultados en la DB [id=$id]"); } // Asigno valores al objeto. - foreach ($row as $key => $val) { - $this->$key = $val; - } + foreach ($row as $key => $val) { + $this->$key = $val; + } return true; } // -X2C -- 2.43.0