From df64c21d1c68d650b8ce1c05f0422887a17dd0ba Mon Sep 17 00:00:00 2001 From: kphoen Date: Sat, 24 Nov 2012 09:45:12 +0000 Subject: [PATCH] Fix: use getFirst() instead of first() --- Request/ParamConverter/PropelParamConverter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Request/ParamConverter/PropelParamConverter.php b/Request/ParamConverter/PropelParamConverter.php index 77e2391..c804d24 100644 --- a/Request/ParamConverter/PropelParamConverter.php +++ b/Request/ParamConverter/PropelParamConverter.php @@ -190,7 +190,7 @@ class PropelParamConverter implements ParamConverterInterface if (!$this->hasWith) { return $query->findOne(); } else { - return $query->find()->first(); + return $query->find()->getFirst(); } }