Skip to content

Commit

Permalink
Update Regexp.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurimas Niekis committed Apr 14, 2014
1 parent b888387 commit df8b9dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Elastica/Filter/Regexp.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit df8b9dc

Please sign in to comment.