[ 1716866 ] Tax Rates By Zip Code
Workaround for a NPE on postgresql
This commit is contained in:
parent
56e792ec17
commit
b3a2457a8d
|
@ -272,6 +272,9 @@ public class MTax extends X_C_Tax
|
||||||
*/
|
*/
|
||||||
public boolean isPostal()
|
public boolean isPostal()
|
||||||
{
|
{
|
||||||
|
if(getPostals(false) == null)
|
||||||
|
return false;
|
||||||
|
|
||||||
return getPostals(false).length > 0;
|
return getPostals(false).length > 0;
|
||||||
} // isPostal
|
} // isPostal
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue