This commit is contained in:
Marc J. Schmidt 2016-04-13 19:09:34 +02:00
parent 980cff8db6
commit 07b5a60f1b
No known key found for this signature in database
GPG key ID: 152515A32C34AD1B

View file

@ -133,7 +133,7 @@ class PropelParamConverter implements ParamConverterInterface
$this->queryMethod = $queryMethod = isset($options['query_method']) ? $options['query_method'] : null;
if ($this->queryMethod != null && method_exists($classQuery, $this->queryMethod)) {
if (null !== $this->queryMethod && method_exists($classQuery, $this->queryMethod)) {
// find by custom method
$query = $this->getQuery($classQuery);
// execute a custom query