Fix: use getFirst() instead of first()

This commit is contained in:
kphoen 2012-11-24 09:45:12 +00:00
parent aedd75f16d
commit df64c21d1c

View file

@ -190,7 +190,7 @@ class PropelParamConverter implements ParamConverterInterface
if (!$this->hasWith) {
return $query->findOne();
} else {
return $query->find()->first();
return $query->find()->getFirst();
}
}