Skip to content

Commit

Permalink
fix #51
Browse files Browse the repository at this point in the history
  • Loading branch information
leantony committed Jun 8, 2018
1 parent f37fbe3 commit f95185d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Listeners/RowFilterHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public function canFilter(string $columnName, array $columnData)
public function canUseProvidedUserInput($userInput)
{
// skip empty requests
if ($userInput === null || empty(trim($userInput))) {
if ($userInput === null || strlen(trim($userInput)) < 1) {
return false;
}
return true;
Expand Down

0 comments on commit f95185d

Please sign in to comment.