Skip to content

Commit

Permalink
Fixes incorrect variable reference
Browse files Browse the repository at this point in the history
The variable used for setting the request mode was not defined - fixes to use $this->requestModes
  • Loading branch information
mgldev committed Feb 15, 2016
1 parent 7500e51 commit d1a7a65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Zucchi/Controller/RequestParserTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ protected function parseSimpleWhere($where)

} else if (is_string($value) && strlen($value)) {
$value = array(
'mode' => $modes['and'],
'mode' => $this->requestModes['and'],
'operator' => $this->requestOperators['eq'],
'value' => $value
);
Expand Down

0 comments on commit d1a7a65

Please sign in to comment.