Remove the @ sign from number contacts when searching for a corresponding image - Fixed.

cusax-fix
Yana Stamcheva 15 years ago
parent f140793cd9
commit 619b59aacd

@ -1828,8 +1828,8 @@ public static void setSourceContactImage( String contactString,
// If we find that the contact is actually a number, we get rid of the
// @ if it exists.
if (StringUtils.isNumber(contactString)
&& atIndex >= 0)
if (atIndex >= 0
&& StringUtils.isNumber(contactString.substring(0, atIndex)))
{
contactString = contactString.substring(0, atIndex);
}

Loading…
Cancel
Save