[ 1716866 ] Tax Rates By Zip Code

Workaround for a NPE on postgresql
This commit is contained in:
deathmeat 2007-05-11 14:03:30 +00:00
parent 56e792ec17
commit b3a2457a8d
1 changed files with 3 additions and 0 deletions

View File

@ -272,6 +272,9 @@ public class MTax extends X_C_Tax
*/
public boolean isPostal()
{
if(getPostals(false) == null)
return false;
return getPostals(false).length > 0;
} // isPostal