Fixes Undefined property: FOS\ElasticaBundle\Client::

This commit is contained in:
ceednee 2013-05-30 21:27:31 +02:00
commit 929c1bfc0d

View file

@ -15,9 +15,9 @@ class Client extends ElasticaClient
$start = microtime(true);
$response = parent::request($path, $method, $data, $query);
if (null !== $this->logger) {
if (null !== $this->_logger) {
$time = microtime(true) - $start;
$this->logger->logQuery($path, $method, $data, $time);
$this->_logger->logQuery($path, $method, $data, $time);
}
return $response;