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); }