Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Merge branch 'integration/master' of github.com:zanata/zanata into in…
Browse files Browse the repository at this point in the history
…tegration/master
  • Loading branch information
Carlos Munoz committed Jun 29, 2012
2 parents 0074c94 + 4e40527 commit fb64a3c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -127,7 +127,7 @@ else if (action.isAcceptAllStatus())

private boolean hasSearchPhrase(GetTransUnitList action)
{
return !Strings.isNullOrEmpty(action.getPhrase()) || action.getPhrase().trim().length() != 0;
return !Strings.isNullOrEmpty(action.getPhrase()) && action.getPhrase().trim().length() != 0;
}

private List<HTextFlow> searchByPhrase(GetTransUnitList action)
Expand Down

0 comments on commit fb64a3c

Please sign in to comment.