From d1295ea0a0ca2cfa2ca8fde42ed274a69dfe401d Mon Sep 17 00:00:00 2001 From: Jose Lorenzo Rodriguez Date: Sun, 28 Jun 2015 16:43:23 +0200 Subject: [PATCH] Fixed variable renaming --- src/ORM/LazyEagerLoader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ORM/LazyEagerLoader.php b/src/ORM/LazyEagerLoader.php index 62179ebb545..e0c5661097d 100644 --- a/src/ORM/LazyEagerLoader.php +++ b/src/ORM/LazyEagerLoader.php @@ -52,7 +52,7 @@ public function loadInto($entities, array $contain, Table $source) } $entities = new Collection($entities); - $query = $this->_getQuery($objects, $contain, $source); + $query = $this->_getQuery($entities, $contain, $source); $associations = array_keys($query->contain()); $entities = $this->_injectResults($entities, $query, $associations, $source);