From 929c1bfc0d61f11c18fb265ede9c6e26db673ce2 Mon Sep 17 00:00:00 2001 From: ceednee Date: Thu, 30 May 2013 21:27:31 +0200 Subject: [PATCH] Fixes Undefined property: FOS\ElasticaBundle\Client:: --- Client.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Client.php b/Client.php index ef9a8bd..8430b36 100644 --- a/Client.php +++ b/Client.php @@ -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;