IDEMPIERE-742 Can't search user using email address.
This commit is contained in:
parent
c24c0f11b6
commit
4249922521
|
@ -1367,8 +1367,11 @@ public final class Env
|
||||||
int j = inStr.indexOf('@'); // next @
|
int j = inStr.indexOf('@'); // next @
|
||||||
if (j < 0)
|
if (j < 0)
|
||||||
{
|
{
|
||||||
getLogger().log(Level.SEVERE, "No second tag: " + inStr);
|
if (getLogger().isLoggable(Level.INFO))
|
||||||
return ""; // no second tag
|
getLogger().log(Level.INFO, "No second tag: " + inStr);
|
||||||
|
//not context variable, add back @ and break
|
||||||
|
outStr.append("@");
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
token = inStr.substring(0, j);
|
token = inStr.substring(0, j);
|
||||||
|
|
Loading…
Reference in New Issue