From 1795f4db1739e4574f153edc7ded55b8ef8e7889 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mantas=20Jonu=C5=A1as?= <mantas.jonusas@nfq.lt> Date: Mon, 23 Mar 2015 13:18:53 +0200 Subject: [PATCH] Added an empty query array in GeohashCellFilter --- Filter/GeohashCellFilter.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Filter/GeohashCellFilter.php b/Filter/GeohashCellFilter.php index 9dd4d07..de8d5bc 100644 --- a/Filter/GeohashCellFilter.php +++ b/Filter/GeohashCellFilter.php @@ -57,6 +57,7 @@ class GeohashCellFilter implements BuilderInterface */ public function toArray() { + $query = []; $query[$this->field] = $this->location; $output = $this->processArray($query); -- GitLab