diff --git a/lib/Doctrine/Table.php b/lib/Doctrine/Table.php index 6d5c67395..6581f68f8 100644 --- a/lib/Doctrine/Table.php +++ b/lib/Doctrine/Table.php @@ -884,7 +884,7 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable } case Doctrine::FETCH_ARRAY: if ( ! empty($records[0])) { - return $records[0]; + return array_shift($records); } } }