From 91f51b92b9459bcc3e6575c98099589ba48cd300 Mon Sep 17 00:00:00 2001 From: zYne Date: Tue, 19 Jun 2007 19:26:18 +0000 Subject: [PATCH] fixes #351 --- lib/Doctrine/Collection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/Collection.php b/lib/Doctrine/Collection.php index 812a3330d..661c24dbb 100644 --- a/lib/Doctrine/Collection.php +++ b/lib/Doctrine/Collection.php @@ -131,7 +131,7 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator unset($vars['expanded']); unset($vars['generator']); - $vars['table'] = $vars['table']->getComponentName(); + $vars['_table'] = $vars['_table']->getComponentName(); return serialize($vars); }