Skip to content

Commit

Permalink
Minor fixes of case of empty string value.
Browse files Browse the repository at this point in the history
  • Loading branch information
JiamingL committed Dec 1, 2017
1 parent e0cb553 commit ea135f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to
[Semantic Versioning](http://semver.org/).

## [1.1.3] - 2017-12-01
* Minor fixes of case of empty string value.

## [1.1.2] - 2017-11-30
* Minor fixes of README.md.

Expand Down
2 changes: 1 addition & 1 deletion src/main/php/Gomoob/Filter/Sql/SqlFilterConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ private function transformSimpleFilter(
/* string */ $value,
/* array */ $context
) /* : array */ {
$result = ['', []];
$result = [$key . " = ''", []];

try {
// Creates a tokenizer to tokenize the filter value
Expand Down

0 comments on commit ea135f2

Please sign in to comment.