From 0695a6ab923b38b8cc3c0e02b9a94067cfe171ce Mon Sep 17 00:00:00 2001
From: gnat <gnat@625475ce-881a-0410-a577-b389adb331d8>
Date: Tue, 30 Oct 2007 17:51:33 +0000
Subject: [PATCH] $this->parent doesn't exist

---
 lib/Doctrine/Connection.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Doctrine/Connection.php b/lib/Doctrine/Connection.php
index 4b518937f..8f03a225d 100644
--- a/lib/Doctrine/Connection.php
+++ b/lib/Doctrine/Connection.php
@@ -229,7 +229,7 @@ abstract class Doctrine_Connection extends Doctrine_Configurable implements Coun
 
         if ($attribute >= 100) {
             if ( ! isset($this->attributes[$attribute])) {
-                return $this->parent->getAttribute($attribute);
+                return parent::getAttribute($attribute);
             }
             return $this->attributes[$attribute];
         }