From df8b9dc27759749edb330c2ddf5eb6a693db78f2 Mon Sep 17 00:00:00 2001 From: Aurimas Niekis Date: Mon, 14 Apr 2014 13:40:16 +0300 Subject: [PATCH] Update Regexp.php --- lib/Elastica/Filter/Regexp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Elastica/Filter/Regexp.php b/lib/Elastica/Filter/Regexp.php index 2012b30f29..0f073bb20e 100644 --- a/lib/Elastica/Filter/Regexp.php +++ b/lib/Elastica/Filter/Regexp.php @@ -96,7 +96,7 @@ public function setOptions($options) public function toArray() { if (count($this->_options) > 0) { - $options = array("value" => $this_regexp); + $options = array("value" => $this->_regexp); $options = array_merge($options, $this->_options); $this->setParam($this->_field, $options);